From a3df8278df2a857541d0849bcc1fb2cef20c2c45 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 8 Oct 1993 22:48:15 +0000 Subject: (STARTFILE_SPEC): Handle -p and -pg outermost. (STARTFILE_SPEC): Handle -p and -pg outermost. Also add support for cross-linking. From-SVN: r5692 --- gcc/config/i386/linux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 01b96ad..58ce5c5 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -73,7 +73,7 @@ */ #define STARTFILE_SPEC \ - "%{g*:crt0.o%s -static} %{!g*:%{pg:gcrt0.o%s -static} %{!pg:%{p:gcrt0.o%s -static} %{!p:crt0.o%s %{!static:%{nojump:-nojump}} %{static:-static}}}}" + "%{pg:gcrt0.o%s -static} %{!pg:%{p:gcrt0.o%s -static} %{!p:crt0.o%s %{g*:-static} %{!static:%{nojump:-nojump}} %{static:-static}}} -L"TOOLDIR"/lib" /* *The cross-compile uses this. @@ -83,7 +83,7 @@ #else #define STARTFILE_SPEC \ - "%{g*:crt0.o%s -static} %{!g*:%{pg:gcrt0.o%s -static} %{!pg:%{p:gcrt0.o%s -static} %{!p:crt0.o%s %{!static:%{nojump:-nojump}} %{static:-static}}}}" + "%{pg:gcrt0.o%s -static} %{!pg:%{p:gcrt0.o%s -static} %{!p:crt0.o%s %{g*:-static}%{!static:%{nojump:-nojump}} %{static:-static}}}" /* *The native Linux system uses this. -- cgit v1.1