aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-09-16 19:37:51 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-09-16 19:37:51 -0700
commit1bdf86c3ba2e441805b8d414c1349fceb9269bc1 (patch)
tree00d8e18326ff65bbd7e57542ea67c3b68de26b50 /gcc/gcc.c
parent0f220a3ef3c30ccd8a3f258e15c67c8ad2e7d9e6 (diff)
downloadgcc-1bdf86c3ba2e441805b8d414c1349fceb9269bc1.zip
gcc-1bdf86c3ba2e441805b8d414c1349fceb9269bc1.tar.gz
gcc-1bdf86c3ba2e441805b8d414c1349fceb9269bc1.tar.bz2
(link_command_spec): Move -T options to end of link command
line. From-SVN: r12728
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 34634c2..ff38151 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -702,9 +702,11 @@ static char *link_command_spec = "\
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
- %{static:} %{L*} %{T*} %o\
+ %{static:} %{L*} %o\
%{!nostdlib:%{!nodefaultlibs:%G %L %G}}\
- %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}";
+ %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\
+ %{T*}\
+ \n }}}}}}";
#else
/* Use -L. */
static char *link_command_spec = "\
@@ -712,9 +714,11 @@ static char *link_command_spec = "\
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
- %{static:} %{L*} %D %{T*} %o\
+ %{static:} %{L*} %D %o\
%{!nostdlib:%{!nodefaultlibs:%G %L %G}}\
- %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}";
+ %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\
+ %{T*}\
+ \n }}}}}}";
#endif
/* A vector of options to give to the linker.