diff options
Diffstat (limited to 'gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch')
-rw-r--r-- | gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch b/gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch index 74b856a..a924f85 100644 --- a/gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch +++ b/gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch @@ -1,3 +1,9 @@ +2013-04-01 Magnus Granberg <zorry@gentoo.org> + + * gcc/config/mips/gnu-user.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC. + * gcc/config/mips/gnu-user64.h (DRIVER_SELF_SPECS): Add ESP_DRIVER_SELF_SPEC. + * gcc/config/mips/mips.h (SUBTARGET_EXTRA_SPECS): Add ESP_EXTRA_SPECS. + --- a/gcc/config/mips/gnu-user.h 2013-01-10 21:38:27.000000000 +0100 +++ b/gcc/config/mips/gnu-user.h 2013-03-10 22:37:33.743176388 +0100 @@ -125,9 +125,16 @@ extern const char *host_detect_local_cpu @@ -36,3 +42,20 @@ #undef GNU_USER_TARGET_LINK_SPEC #define GNU_USER_TARGET_LINK_SPEC "\ +--- a/gcc/config/mips/mips.h 2013-01-10 21:38:27.000000000 +0100 ++++ b/gcc/config/mips/mips.h 2013-03-24 16:59:01.474513910 +0100 +@@ -1197,9 +1197,13 @@ struct mips_cpu_info { + SUBTARGET_EXTRA_SPECS + + #ifndef SUBTARGET_EXTRA_SPECS ++#ifdef ENABLE_ESP ++#define SUBTARGET_EXTRA_SPECS ESP_EXTRA_SPECS ++#else + #define SUBTARGET_EXTRA_SPECS + #endif +- ++#endif ++ + #define DBX_DEBUGGING_INFO 1 /* generate stabs (OSF/rose) */ + #define DWARF2_DEBUGGING_INFO 1 /* dwarf2 debugging info */ + |