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

From-SVN: r9790
This commit is contained in:
Doug Evans 1995-05-23 23:54:00 +00:00
parent 848a42b9af
commit 5e1d9b962e
1 changed files with 4 additions and 2 deletions

View File

@ -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.