OSDN Git Service

(link_command_spec): New option -nostartfiles.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 1993 07:11:33 +0000 (07:11 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Mar 1993 07:11:33 +0000 (07:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3690 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/gcc.c

index e72669e..f50e2ec 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -579,7 +579,7 @@ static char *link_command_spec = "\
 %{!fsyntax-only: \
  %{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
                        %{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 }}}}}}";
 #else
 #ifdef LINK_LIBGCC_SPECIAL
@@ -588,7 +588,7 @@ static char *link_command_spec = "\
 %{!fsyntax-only: \
  %{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
                        %{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 }}}}}}";
 #else
 /* Use -L and have the linker do the search for -lgcc.  */
@@ -596,7 +596,7 @@ static char *link_command_spec = "\
 %{!fsyntax-only: \
  %{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
                        %{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 }}}}}}";
 #endif
 #endif