diff options
author | Jan Hubicka <jh@suse.cz> | 2009-10-07 11:11:28 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-10-07 09:11:28 +0000 |
commit | 13291c16c043afabb7411422aa811e56d51b51fe (patch) | |
tree | de925db224c03a06ee28967d52e6dc37cbad5f81 /gcc/gcc.c | |
parent | b20996ff13afd304d44aafd0966501cc4bd10b97 (diff) | |
download | gcc-13291c16c043afabb7411422aa811e56d51b51fe.zip gcc-13291c16c043afabb7411422aa811e56d51b51fe.tar.gz gcc-13291c16c043afabb7411422aa811e56d51b51fe.tar.bz2 |
collect2.c (main): Add -fno-whole-program.
* collect2.c (main): Add -fno-whole-program.
* gcc.c (set_collect_gcc_options): Do not remove whole program here.
From-SVN: r152521
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -4636,11 +4636,6 @@ set_collect_gcc_options (void) if ((switches[i].live_cond & SWITCH_IGNORE) != 0) continue; - /* Don't use -fwhole-program when compiling the init and fini routines, - since we'd wrongly assume that the routines aren't needed. */ - if (strcmp (switches[i].part1, "fwhole-program") == 0) - continue; - obstack_grow (&collect_obstack, "'-", 2); q = switches[i].part1; while ((p = strchr (q, '\''))) |