diff options
author | Doug Evans <dje@gnu.org> | 1995-06-12 19:01:48 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1995-06-12 19:01:48 +0000 |
commit | 7f9cce93f309f8c4363da3012ccd78bffd0bda38 (patch) | |
tree | 301a623c120cb0a2803dac5ce54ca400c7f8987a /gcc | |
parent | 88bf2bdc8d84ca007d468950ed5fd7b87e3bec24 (diff) | |
download | gcc-7f9cce93f309f8c4363da3012ccd78bffd0bda38.zip gcc-7f9cce93f309f8c4363da3012ccd78bffd0bda38.tar.gz gcc-7f9cce93f309f8c4363da3012ccd78bffd0bda38.tar.bz2 |
(link_command_spec): Undo patch of May 11.
-nostdlib implies -nostartfiles again.
New argument -nodefaultlibs.
From-SVN: r9932
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -719,18 +719,20 @@ 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} %{u*} %{x} %{z} %{Z}\ - %{!A:%{!nostartfiles:%S}} %{static:}\ - %{L*} %{T*} %o %{!nostdlib:%G %L %G}\ - %{!A:%{!nostartfiles:%E}}\n }}}}}}"; + %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ + %{static:} %{L*} %{T*} %o\ + %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ + %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}"; #else /* Use -L. */ 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} %{u*} %{x} %{z} %{Z}\ - %{!A:%{!nostartfiles:%S}} %{static:}\ - %{L*} %D %{T*} %o %{!nostdlib:%G %L %G}\ - %{!A:%{!nostartfiles:%E}}\n }}}}}}"; + %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ + %{static:} %{L*} %D %{T*} %o\ + %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ + %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\n }}}}}}"; #endif /* A vector of options to give to the linker. |