diff options
author | 2013-03-10 23:07:04 +0100 | |
---|---|---|
committer | 2013-03-10 23:07:04 +0100 | |
commit | f058f56f572212bf0d9016b4a256081a68eb8c20 (patch) | |
tree | 6101883d839cbc6cc56eb6caf6ad7b4026e16498 | |
parent | Add gcc 4.8.0 piepatchset (diff) | |
download | hardened-gccpatchset-f058f56f572212bf0d9016b4a256081a68eb8c20.tar.gz hardened-gccpatchset-f058f56f572212bf0d9016b4a256081a68eb8c20.tar.bz2 hardened-gccpatchset-f058f56f572212bf0d9016b4a256081a68eb8c20.zip |
add mips support for gcc 4.8
-rw-r--r-- | gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch | 38 |
1 files changed, 38 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 new file mode 100644 index 0000000..74b856a --- /dev/null +++ b/gcc-4.8.0/piepatch/36_all_gcc48_config_mips.patch @@ -0,0 +1,38 @@ +--- 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 + "%{mabi=64:%{!msym32:%<mplt}}" + + #undef DRIVER_SELF_SPECS ++#ifdef ENABLE_ESP + #define DRIVER_SELF_SPECS \ + BASE_DRIVER_SELF_SPECS, \ ++ ESP_DRIVER_SELF_SPEC, \ + LINUX_DRIVER_SELF_SPECS ++# else ++#define DRIVER_SELF_SPECS \ ++ BASE_DRIVER_SELF_SPECS, \ ++ LINUX_DRIVER_SELF_SPECS ++#endif + + /* Similar to standard Linux, but adding -ffast-math support. */ + #undef GNU_USER_TARGET_MATHFILE_SPEC +--- a/gcc/config/mips/gnu-user64.h 2013-01-10 21:38:27.000000000 +0100 ++++ b/gcc/config/mips/gnu-user64.h 2013-03-10 22:32:11.209166777 +0100 +@@ -26,9 +26,16 @@ along with GCC; see the file COPYING3. + " %{!mabi=*: -" MULTILIB_ABI_DEFAULT "}" + + #undef DRIVER_SELF_SPECS ++#ifdef ENABLE_ESP + #define DRIVER_SELF_SPECS \ + BASE_DRIVER_SELF_SPECS, \ ++ ESP_DRIVER_SELF_SPEC, \ + LINUX64_DRIVER_SELF_SPECS ++# else ++#define DRIVER_SELF_SPECS \ ++ BASE_DRIVER_SELF_SPECS, \ ++ LINUX64_DRIVER_SELF_SPECS ++#endif + + #undef GNU_USER_TARGET_LINK_SPEC + #define GNU_USER_TARGET_LINK_SPEC "\ |