OSDN Git Service

(link_command_spec): Move ENDFILE_SPEC from -nostdlib to -nostartfiles.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 1995 23:54:00 +0000 (23:54 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 May 1995 23:54:00 +0000 (23:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9790 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/gcc.c

index 414f195..12cd05f 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -720,7 +720,8 @@ static char *link_command_spec = "\
  %{!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:%E}}\n }}}}}}";
+                       %{L*} %{T*} %o %{!nostdlib:%G %L %G}\
+                       %{!A:%{!nostartfiles:%E}}\n }}}}}}";
 #else
 /* Use -L.  */
 static char *link_command_spec = "\
@@ -728,7 +729,8 @@ static char *link_command_spec = "\
  %{!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:%E}}\n }}}}}}";
+                       %{L*} %D %{T*} %o %{!nostdlib:%G %L %G}\
+                       %{!A:%{!nostartfiles:%E}}\n }}}}}}";
 #endif
 
 /* A vector of options to give to the linker.