diff options
author | Magnus Granberg <zorry@gentoo.org> | 2011-06-24 16:45:25 +0200 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2011-06-24 16:45:25 +0200 |
commit | a0963e696b1ee2e4facb77b57da8489c90e8a94e (patch) | |
tree | a7de0a5612fd3e18f435a6e689a3d18d377bd0ea /upstream | |
parent | Added the espf-ssp patch for upstream rev 1 (diff) | |
download | hardened-gccpatchset-a0963e696b1ee2e4facb77b57da8489c90e8a94e.tar.gz hardened-gccpatchset-a0963e696b1ee2e4facb77b57da8489c90e8a94e.tar.bz2 hardened-gccpatchset-a0963e696b1ee2e4facb77b57da8489c90e8a94e.zip |
Added the gcc.c patch for upstream rev 1
Diffstat (limited to 'upstream')
-rw-r--r-- | upstream/gcc.c.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/upstream/gcc.c.patch b/upstream/gcc.c.patch new file mode 100644 index 0000000..b1d5e89 --- /dev/null +++ b/upstream/gcc.c.patch @@ -0,0 +1,28 @@ +2011-06-24 Magnus Granberg <zorry@gentoo.org> + + * gcc/gcc.c include esp.h + main(): Add do_self_spec (espf_command_options_spec) + +--- 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 "flags.h" + #include "opts.h" + #include "vec.h" ++#include "esp.h" /* for --enable-espf support */ + + /* By default there is no special suffix for target executables. */ + /* FIXME: when autoconf is fixed, remove the host check - dj */ +@@ -7096,6 +7123,12 @@ + gcc_exec_prefix = concat (gcc_exec_prefix, spec_machine, dir_separator_str, + spec_version, dir_separator_str, NULL); + ++#ifdef ENABLE_ESPF ++ /* Process ESPF_COMMAND_OPTIONS_SPEC, adding any new options to the end ++ of the command line. */ ++ do_self_spec (espf_command_options_spec); ++#endif ++ + /* Now we have the specs. + Set the `valid' bits for switches that match anything in any spec. */ + |