diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2007-07-10 18:02:30 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2007-07-10 18:02:30 +0000 |
commit | 333f4a405220572c1714b26a8ded9ee1e22050a6 (patch) | |
tree | c939cd76fafa959ab7b08f40c77a5462b56c860a /gcc/config | |
parent | 70390e64492731532e44c0c256eaefa7a3bb5b48 (diff) | |
download | gcc-333f4a405220572c1714b26a8ded9ee1e22050a6.zip gcc-333f4a405220572c1714b26a8ded9ee1e22050a6.tar.gz gcc-333f4a405220572c1714b26a8ded9ee1e22050a6.tar.bz2 |
re PR target/32538 (All libgomp tests fail to link on IRIX 6: copysignl undefined)
PR target/32538
* config/mips/iris6.h (LIBGCC_SPEC): Add libm.
From-SVN: r126520
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/iris6.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 8686b14..87d9a21 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 \ |