diff options
| author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-10 18:02:30 +0000 |
|---|---|---|
| committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-10 18:02:30 +0000 |
| commit | 95bc673f9c4f80dccfb73fd0245d87ea3f9f30d2 (patch) | |
| tree | c939cd76fafa959ab7b08f40c77a5462b56c860a | |
| parent | af71f296112d2f51fcdb723f5c1cfe5008606561 (diff) | |
| download | ppe42-gcc-95bc673f9c4f80dccfb73fd0245d87ea3f9f30d2.tar.gz ppe42-gcc-95bc673f9c4f80dccfb73fd0245d87ea3f9f30d2.zip | |
PR target/32538
* config/mips/iris6.h (LIBGCC_SPEC): Add libm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126520 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/iris6.h | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 712de85e6db..897093169f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + PR target/32538 + * config/mips/iris6.h (LIBGCC_SPEC): Add libm. + 2007-07-10 Ian Lance Taylor <iant@google.com> Replace no_new_pseudos in backends. diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 8686b14fa94..87d9a219bbd 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. IRIX version 6. Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, - 2005, 2006 + 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. @@ -96,10 +96,11 @@ Boston, MA 02110-1301, USA. */ " %{pthread:-lpthread} %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc " \ SUBTARGET_WARN_UNUSED_SPEC "}" -/* Avoid getting two warnings for libgcc.a everytime we link. */ +/* Avoid getting two warnings for libgcc.a everytime we link. libgcc.a + contains references to copysignl, so link with libm to resolve them. */ #undef LIBGCC_SPEC #define LIBGCC_SPEC \ - SUBTARGET_DONT_WARN_UNUSED_SPEC " -lgcc " SUBTARGET_WARN_UNUSED_SPEC + SUBTARGET_DONT_WARN_UNUSED_SPEC " -lgcc -lm " SUBTARGET_WARN_UNUSED_SPEC #undef ENDFILE_SPEC #define ENDFILE_SPEC \ |

