Commit ac509592 by Richard Stallman

(link_command_spec): New option -nostartfiles.

From-SVN: r3690
parent d847907d
...@@ -579,7 +579,7 @@ static char *link_command_spec = "\ ...@@ -579,7 +579,7 @@ static char *link_command_spec = "\
%{!fsyntax-only: \ %{!fsyntax-only: \
%{!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*} %{t} %{u*} %{x} %{z}\ %{r} %{s} %{T*} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostdlib:%S}} %{static:}\ %{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %o %{!nostdlib:libgcc.a%s %L libgcc.a%s %{!A:%E}}\n }}}}}}"; %{L*} %D %o %{!nostdlib:libgcc.a%s %L libgcc.a%s %{!A:%E}}\n }}}}}}";
#else #else
#ifdef LINK_LIBGCC_SPECIAL #ifdef LINK_LIBGCC_SPECIAL
...@@ -588,7 +588,7 @@ static char *link_command_spec = "\ ...@@ -588,7 +588,7 @@ static char *link_command_spec = "\
%{!fsyntax-only: \ %{!fsyntax-only: \
%{!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*} %{t} %{u*} %{x} %{z}\ %{r} %{s} %{T*} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostdlib:%S}} %{static:}\ %{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %o %{!nostdlib:libgcc.a%s %L libgcc.a%s %{!A:%E}}\n }}}}}}"; %{L*} %o %{!nostdlib:libgcc.a%s %L libgcc.a%s %{!A:%E}}\n }}}}}}";
#else #else
/* Use -L and have the linker do the search for -lgcc. */ /* Use -L and have the linker do the search for -lgcc. */
...@@ -596,7 +596,7 @@ static char *link_command_spec = "\ ...@@ -596,7 +596,7 @@ static char *link_command_spec = "\
%{!fsyntax-only: \ %{!fsyntax-only: \
%{!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*} %{t} %{u*} %{x} %{z}\ %{r} %{s} %{T*} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostdlib:%S}} %{static:}\ %{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %o %{!nostdlib:-lgcc %L -lgcc %{!A:%E}}\n }}}}}}"; %{L*} %D %o %{!nostdlib:-lgcc %L -lgcc %{!A:%E}}\n }}}}}}";
#endif #endif
#endif #endif
......
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