diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-08 22:48:15 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-08 22:48:15 +0000 |
commit | a3df8278df2a857541d0849bcc1fb2cef20c2c45 (patch) | |
tree | 8ca734eb18a7fe8bb97d8d12117cac6db4804a4f /gcc | |
parent | efd57514409ca01148f00280f6657ce526697d53 (diff) | |
download | gcc-a3df8278df2a857541d0849bcc1fb2cef20c2c45.zip gcc-a3df8278df2a857541d0849bcc1fb2cef20c2c45.tar.gz gcc-a3df8278df2a857541d0849bcc1fb2cef20c2c45.tar.bz2 |
(STARTFILE_SPEC): Handle -p and -pg outermost.
(STARTFILE_SPEC): Handle -p and -pg
outermost. Also add support for cross-linking.
From-SVN: r5692
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. |