diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 15:09:59 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-03 15:09:59 +0000 |
commit | b9504307c0c3b3694213a7ce53d778193d3af17c (patch) | |
tree | ad4c3bffc0c995a7d8bcd7443800ff21892437d7 /gcc | |
parent | 5ca19477ec1723e3da52c5d596c84c375da3848f (diff) | |
download | gcc-b9504307c0c3b3694213a7ce53d778193d3af17c.tar.gz |
* gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m.
* config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
* config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/darwin.h | 8 | ||||
-rw-r--r-- | gcc/config/i386/djgpp.h | 6 | ||||
-rw-r--r-- | gcc/gcc.c | 6 |
4 files changed, 16 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77fd7dbcf60..467fd93a713 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-12-03 Joseph Myers <joseph@codesourcery.com> + + * gcc.c (LINK_COMMAND_SPEC): Don't handle -A, -d or -m. + * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise. + * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise. + 2010-12-03 Alexander Monakov <amonakov@ispras.ru> PR rtl-optimization/45354 diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index eb1ff8984c1..1d183655b33 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -172,17 +172,17 @@ extern GTY(()) int darwin_ms_struct; %(linker) \ %{flto*:%<fcompare-debug*} \ %{flto*} \ - %l %X %{d} %{s} %{t} %{Z} %{u*} \ - %{A} %{e*} %{m} %{r} \ + %l %X %{s} %{t} %{Z} %{u*} \ + %{e*} %{r} \ %{o*}%{!o:-o a.out} \ - %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ + %{!nostdlib:%{!nostartfiles:%S}} \ %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ %{fopenmp|ftree-parallelize-loops=*: \ %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \ %{!nostdlib:%{!nodefaultlibs:\ %(link_ssp) %(link_gcc_c_sequence)\ }}\ - %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}" + %{!nostdlib:%{!nostartfiles:%E}} %{T*} %{F*} }}}}}}}" #define DSYMUTIL "\ndsymutil" diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index de355c4709d..34a15facbf7 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -96,12 +96,12 @@ along with GCC; see the file COPYING3. If not see #undef LINK_COMMAND_SPEC #define LINK_COMMAND_SPEC \ "%{!fsyntax-only: \ -%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \ +%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %X %{o*} %{e*} %{N} %{n} \ \t%{r} %{s} %{t} %{u*} %{z} %{Z}\ -\t%{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ +\t%{!nostdlib:%{!nostartfiles:%S}}\ \t%{static:} %{L*} %D %o\ \t%{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ -\t%{!A:%{!nostdlib:%{!nostartfiles:%E}}}\ +\t%{!nostdlib:%{!nostartfiles:%E}}\ \t-Tdjgpp.djl %{T*}}}}}}}\n\ %{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out} }}}}}" diff --git a/gcc/gcc.c b/gcc/gcc.c index a0343fa684b..4894ab8e45e 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -641,14 +641,14 @@ proper position among the other output files. */ } \ %{flto*:%<fcompare-debug*} \ %{flto*} %l " LINK_PIE_SPEC \ - "%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\ - %{s} %{t} %{u*} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ + "%X %{o*} %{e*} %{N} %{n} %{r}\ + %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\ %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ %(mflib) " STACK_SPLIT_SPEC "\ %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\ - %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}" + %{!nostdlib:%{!nostartfiles:%E}} %{T*} }}}}}}" #endif #ifndef LINK_LIBGCC_SPEC |