Commit 5e1d9b96 by Doug Evans

(link_command_spec): Move ENDFILE_SPEC from -nostdlib to -nostartfiles.

From-SVN: r9790
parent 848a42b9
......@@ -720,7 +720,8 @@ 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:%{!nostartfiles:%S}} %{static:}\
%{L*} %{T*} %o %{!nostdlib:%G %L %G %{!A:%E}}\n }}}}}}";
%{L*} %{T*} %o %{!nostdlib:%G %L %G}\
%{!A:%{!nostartfiles:%E}}\n }}}}}}";
#else
/* Use -L. */
static char *link_command_spec = "\
......@@ -728,7 +729,8 @@ 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:%{!nostartfiles:%S}} %{static:}\
%{L*} %D %{T*} %o %{!nostdlib:%G %L %G %{!A:%E}}\n }}}}}}";
%{L*} %D %{T*} %o %{!nostdlib:%G %L %G}\
%{!A:%{!nostartfiles:%E}}\n }}}}}}";
#endif
/* 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