Commit 1bdf86c3 by Jim Wilson

(link_command_spec): Move -T options to end of link command

line.

From-SVN: r12728
parent 0f220a3e
...@@ -702,9 +702,11 @@ static char *link_command_spec = "\ ...@@ -702,9 +702,11 @@ static char *link_command_spec = "\
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \ %{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\ %{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
%{static:} %{L*} %{T*} %o\ %{static:} %{L*} %o\
%{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\
%{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}"; %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\
%{T*}\
\n }}}}}}";
#else #else
/* Use -L. */ /* Use -L. */
static char *link_command_spec = "\ static char *link_command_spec = "\
...@@ -712,9 +714,11 @@ 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} \ %{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\ %{r} %{s} %{t} %{u*} %{x} %{z} %{Z}\
%{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
%{static:} %{L*} %D %{T*} %o\ %{static:} %{L*} %D %o\
%{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\
%{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}"; %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\
%{T*}\
\n }}}}}}";
#endif #endif
/* A vector of options to give to the linker. /* A vector of options to give to the linker.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment