From 1bdf86c3ba2e441805b8d414c1349fceb9269bc1 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 16 Sep 1996 19:37:51 -0700 Subject: [PATCH] (link_command_spec): Move -T options to end of link command line. From-SVN: r12728 --- gcc/gcc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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. -- 2.30.2