diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-06-02 08:56:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-05 13:47:16 +0000 |
commit | 6e1b72b5cd3e62bb418efaae68bd0f50d7391700 (patch) | |
tree | 8f802657da946121b31af0df7f917e365afc8a4e /main/gcc/135_all_gcc48_config_arm.patch | |
parent | 6dd6cf5392171bfaaf099e04f774373ff9f486d9 (diff) | |
download | aports-6e1b72b5cd3e62bb418efaae68bd0f50d7391700.tar.bz2 aports-6e1b72b5cd3e62bb418efaae68bd0f50d7391700.tar.xz |
main/gcc: upgrade to gcc 5.1.0
Diffstat (limited to 'main/gcc/135_all_gcc48_config_arm.patch')
-rw-r--r-- | main/gcc/135_all_gcc48_config_arm.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/gcc/135_all_gcc48_config_arm.patch b/main/gcc/135_all_gcc48_config_arm.patch new file mode 100644 index 0000000000..7317c69f60 --- /dev/null +++ b/main/gcc/135_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 2015-06-02 08:42:53.724969452 +0000 ++++ b/gcc/config/arm/arm.h 2015-06-02 08:46:26.515546804 +0000 +@@ -2411,6 +2411,13 @@ extern const char *host_detect_local_cpu + # define EXTRA_SPEC_FUNCTIONS BIG_LITTLE_CPU_SPEC_FUNCTIONS + #endif + ++#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 + #define DRIVER_SELF_SPECS MCPU_MTUNE_NATIVE_SPECS + #define TARGET_SUPPORTS_WIDE_INT 1 + #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 "\ |