diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-10 07:11:33 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-10 07:11:33 +0000 |
commit | ac5095920205d7e1f88480aa2a6a60c9811771d2 (patch) | |
tree | bb30b6348a08c4bb5a0ffd069a82315ad7076436 /gcc | |
parent | d847907df7041801e3ab05d7b4b9c4cd31317d28 (diff) | |
download | gcc-ac5095920205d7e1f88480aa2a6a60c9811771d2.zip gcc-ac5095920205d7e1f88480aa2a6a60c9811771d2.tar.gz gcc-ac5095920205d7e1f88480aa2a6a60c9811771d2.tar.bz2 |
(link_command_spec): New option -nostartfiles.
From-SVN: r3690
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |