/[gentoo]/src/patchsets/gcc/4.8.5/pie/35_all_gcc48_config_arm.patch
Gentoo

Diff of /src/patchsets/gcc/4.8.5/pie/35_all_gcc48_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,11 @@ extern const char *host_detect_local_cpu 8@@ -2326,6 +2326,13 @@ extern const char *host_detect_local_cpu
9 # define MCPU_MTUNE_NATIVE_SPECS "" 9 # define MCPU_MTUNE_NATIVE_SPECS ""
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- 13-
14+#ifdef ENABLE_ESP 14+#ifdef ENABLE_ESP
15+# define DRIVER_SELF_SPECS \ 15+# define DRIVER_SELF_SPECS \
16+ MCPU_MTUNE_NATIVE_SPECS, \ 16+ MCPU_MTUNE_NATIVE_SPECS, \
17+ ESP_DRIVER_SELF_SPEC 17+ ESP_DRIVER_SELF_SPEC
18+/* https://bugs.gentoo.org/518598 */
19+# define ESP_NO_STACK_CHECK 1
18+#else 20+#else
19+# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS 21+# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
20+#endif 22+#endif
21 #endif /* ! GCC_ARM_H */ 23 #endif /* ! GCC_ARM_H */
22--- a/gcc/config/arm/elf.h 2013-01-10 21:38:27.000000000 +0100 24--- a/gcc/config/arm/elf.h 2013-01-10 21:38:27.000000000 +0100

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

  ViewVC Help
Powered by ViewVC 1.1.20