diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-17 18:51:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-17 18:51:49 +0000 |
commit | 6554ee5831b764e0511e83d393dc3d222eadd5c2 (patch) | |
tree | 540162bb98ad92ca33f8691c6e703b05e21e3381 /main/gcc/35_all_gcc48_config_arm.patch | |
parent | 3063244af3ab02c32b142561809a983c8c0b5e59 (diff) | |
download | aports-6554ee5831b764e0511e83d393dc3d222eadd5c2.tar.bz2 aports-6554ee5831b764e0511e83d393dc3d222eadd5c2.tar.xz |
main/gcc: upgrade to 4.8.2
Diffstat (limited to 'main/gcc/35_all_gcc48_config_arm.patch')
-rw-r--r-- | main/gcc/35_all_gcc48_config_arm.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/gcc/35_all_gcc48_config_arm.patch b/main/gcc/35_all_gcc48_config_arm.patch new file mode 100644 index 000000000..5aecc6ba3 --- /dev/null +++ b/main/gcc/35_all_gcc48_config_arm.patch @@ -0,0 +1,35 @@ +2013-06-03 Magnus Granberg <zorry@gentoo.org> + + * gcc/config/arm/arm.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC. + * gcc/config/arm/elf.h (SUBSUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS. + +--- a/gcc/config/arm/arm.h 2013-01-15 17:17:28.000000000 +0100 ++++ b/gcc/config/arm/arm.h 2013-02-18 22:45:18.327284928 +0100 +@@ -2326,6 +2326,11 @@ extern const char *host_detect_local_cpu + # define MCPU_MTUNE_NATIVE_SPECS "" + #endif + +-#define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS +- ++#ifdef ENABLE_ESP ++# define DRIVER_SELF_SPECS \ ++ MCPU_MTUNE_NATIVE_SPECS, \ ++ ESP_DRIVER_SELF_SPEC ++#else ++# define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS ++#endif + #endif /* ! GCC_ARM_H */ +--- a/gcc/config/arm/elf.h 2013-01-10 21:38:27.000000000 +0100 ++++ b/gcc/config/arm/elf.h 2013-05-19 02:15:49.595855825 +0200 +@@ -49,7 +49,11 @@ + #endif + + #undef SUBSUBTARGET_EXTRA_SPECS ++#ifdef ENABLE_ESP ++#define SUBSUBTARGET_EXTRA_SPECS ESP_EXTRA_SPECS ++#else + #define SUBSUBTARGET_EXTRA_SPECS ++#endif + + #ifndef ASM_SPEC + #define ASM_SPEC "\ |