From ac5095920205d7e1f88480aa2a6a60c9811771d2 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 10 Mar 1993 07:11:33 +0000 Subject: [PATCH] (link_command_spec): New option -nostartfiles. From-SVN: r3690 --- gcc/gcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index e72669e3d25..f50e2eca073 100644 --- 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 -- 2.30.2