/[gentoo]/src/patchsets/gcc/5.2.0/pie/35_all_gcc51_config_arm.patch
Gentoo

Diff of /src/patchsets/gcc/5.2.0/pie/35_all_gcc51_config_arm.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
3 * gcc/config/arm/arm.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC. 3 * gcc/config/arm/arm.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC.
4 * gcc/config/arm/elf.h (SUBSUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS. 4 * gcc/config/arm/elf.h (SUBSUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS.
5 5
6--- a/gcc/config/arm/arm.h 2013-01-15 17:17:28.000000000 +0100 6--- a/gcc/config/arm/arm.h 2013-01-15 17:17:28.000000000 +0100
7+++ b/gcc/config/arm/arm.h 2013-02-18 22:45:18.327284928 +0100 7+++ b/gcc/config/arm/arm.h 2013-02-18 22:45:18.327284928 +0100
8@@ -2326,6 +2326,12 @@ extern const char *host_detect_local_cpu 8@@ -2326,6 +2326,14 @@ extern const char *host_detect_local_cpu
9 # define EXTRA_SPEC_FUNCTIONS BIG_LITTLE_CPU_SPEC_FUNCTIONS 9 # define EXTRA_SPEC_FUNCTIONS BIG_LITTLE_CPU_SPEC_FUNCTIONS
10 #endif 10 #endif
11 11
12-#define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS 12-#define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
13+#ifdef ENABLE_ESP 13+#ifdef ENABLE_ESP
14+# define DRIVER_SELF_SPECS \ 14+# define DRIVER_SELF_SPECS \
15+ MCPU_MTUNE_NATIVE_SPECS, \ 15+ MCPU_MTUNE_NATIVE_SPECS, \
16+ ESP_DRIVER_SELF_SPEC 16+ ESP_DRIVER_SELF_SPEC
17+/* https://bugs.gentoo.org/518598 */
18+# define ESP_NO_STACK_CHECK 1
17+#else 19+#else
18+# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS 20+# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
19+#endif 21+#endif
20 #define TARGET_SUPPORTS_WIDE_INT 1 22 #define TARGET_SUPPORTS_WIDE_INT 1
21 #endif /* ! GCC_ARM_H */ 23 #endif /* ! GCC_ARM_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20