]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - gcc/patches/35_all_gcc48_config_arm.patch
gcc: Update to version 4.9.1
[people/pmueller/ipfire-3.x.git] / gcc / patches / 35_all_gcc48_config_arm.patch
1 2013-06-03 Magnus Granberg <zorry@gentoo.org>
2
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.
5
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
8 @@ -2326,6 +2326,11 @@ extern const char *host_detect_local_cpu
9 # define MCPU_MTUNE_NATIVE_SPECS ""
10 #endif
11
12 -#define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
13 -
14 +#ifdef ENABLE_ESP
15 +# define DRIVER_SELF_SPECS \
16 + MCPU_MTUNE_NATIVE_SPECS, \
17 + ESP_DRIVER_SELF_SPEC
18 +#else
19 +# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS
20 +#endif
21 #endif /* ! GCC_ARM_H */
22 --- a/gcc/config/arm/elf.h 2013-01-10 21:38:27.000000000 +0100
23 +++ b/gcc/config/arm/elf.h 2013-05-19 02:15:49.595855825 +0200
24 @@ -49,7 +49,11 @@
25 #endif
26
27 #undef SUBSUBTARGET_EXTRA_SPECS
28 +#ifdef ENABLE_ESP
29 +#define SUBSUBTARGET_EXTRA_SPECS ESP_EXTRA_SPECS
30 +#else
31 #define SUBSUBTARGET_EXTRA_SPECS
32 +#endif
33
34 #ifndef ASM_SPEC
35 #define ASM_SPEC "\