diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-09-16 19:37:51 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-09-16 19:37:51 -0700 |
commit | 1bdf86c3ba2e441805b8d414c1349fceb9269bc1 (patch) | |
tree | 00d8e18326ff65bbd7e57542ea67c3b68de26b50 /gcc | |
parent | 0f220a3ef3c30ccd8a3f258e15c67c8ad2e7d9e6 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/gcc.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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. |