From: Jim Wilson Date: Tue, 17 Sep 1996 02:37:51 +0000 (-0700) Subject: (link_command_spec): Move -T options to end of link command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bdf86c3ba2e441805b8d414c1349fceb9269bc1;p=gcc.git (link_command_spec): Move -T options to end of link command line. From-SVN: r12728 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 34634c26510..ff3815144a0 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.