diff options
author | Magnus Granberg <zorry@gentoo.org> | 2013-04-01 02:05:18 +0200 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2013-04-01 02:05:18 +0200 |
commit | 6f5e4b98cc380044417dec3a4c5aa461e92d2a47 (patch) | |
tree | 9a38a185fc5a8427b723e0dfa3e08bb55c390641 /gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch | |
parent | add mips support for gcc 4.8 (diff) | |
download | hardened-gccpatchset-6f5e4b98cc380044417dec3a4c5aa461e92d2a47.tar.gz hardened-gccpatchset-6f5e4b98cc380044417dec3a4c5aa461e92d2a47.tar.bz2 hardened-gccpatchset-6f5e4b98cc380044417dec3a4c5aa461e92d2a47.zip |
commit what gose in to gcc 4.8 piepatchset 0.5.5 in tree
Diffstat (limited to 'gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch')
-rw-r--r-- | gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch b/gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch new file mode 100644 index 0000000..b92607b --- /dev/null +++ b/gcc-4.8.0/piepatch/05_all_gcc48_gcc.c.patch @@ -0,0 +1,25 @@ +2013-03-24 Magnus Granberg <zorry@gentoo.org> + + * gcc/gcc.c include esp.h + static const char *cc1_spec We set that in esp.h if ENABLE_ESP. + +--- gcc/gcc.c 2010-01-21 10:29:30.000000000 -0500 ++++ gcc/gcc.c 2010-01-29 23:29:16.000000000 -0500 +@@ -44,6 +44,7 @@ + #include "opts.h" + #include "params.h" + #include "vec.h" ++#include "config/esp.h" /* for --enable-esp support */ + #include "filenames.h" + + /* By default there is no special suffix for target executables. */ +@@ -822,7 +823,9 @@ + + static const char *asm_debug; + static const char *cpp_spec = CPP_SPEC; ++#ifndef ENABLE_ESP + static const char *cc1_spec = CC1_SPEC; ++#endif + static const char *cc1plus_spec = CC1PLUS_SPEC; + static const char *link_gcc_c_sequence_spec = LINK_GCC_C_SEQUENCE_SPEC; + static const char *link_ssp_spec = LINK_SSP_SPEC; |