diff options
author | Andreas Jaeger <aj@arthur.rhein-neckar.de> | 1999-08-20 13:12:25 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@gcc.gnu.org> | 1999-08-20 13:12:25 +0000 |
commit | 48a1ecfcb3564dfbfa280e9676a0447bf84306d7 (patch) | |
tree | 224052d1cd86a4c805d60c2969f602d08ab8c2af /gcc | |
parent | f7b4fb110a587d13e6f203716b2ab5f326065934 (diff) | |
download | gcc-48a1ecfcb3564dfbfa280e9676a0447bf84306d7.zip gcc-48a1ecfcb3564dfbfa280e9676a0447bf84306d7.tar.gz gcc-48a1ecfcb3564dfbfa280e9676a0447bf84306d7.tar.bz2 |
linux.h (LIB_SPEC): Added.
1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* linux.h (LIB_SPEC): Added.
From-SVN: r28778
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/mips/linux.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 965fa33..98229a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * linux.h (LIB_SPEC): Added. + Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.h (STARTFILE_SPEC): Don't define. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index f4ed424..2ca30ea 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -55,6 +55,13 @@ Boston, MA 02111-1307, USA. */ #undef MIPS_DEFAULT_GVALUE #define MIPS_DEFAULT_GVALUE 0 +#undef LIB_SPEC +/* Taken from sparc/linux.h. */ +#define LIB_SPEC \ + "%{shared: -lc} \ + %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \ + %{profile:-lc_p} %{!profile: -lc}}" + /* Borrowed from sparc/linux.h */ #undef LINK_SPEC #define LINK_SPEC "-Y P,/usr/lib %{shared:-shared} \ |