From: Daniel Jacobowitz Date: Wed, 26 Jan 2005 02:04:48 +0000 (+0000) Subject: linux.h (LIB_SPEC): Remove -rpath-link. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9841a1a7ba59653e80cd0834ec926abfb7b70520;p=gcc.git linux.h (LIB_SPEC): Remove -rpath-link. * config/mips/linux.h (LIB_SPEC): Remove -rpath-link. * config/mips/linux64.h (LIB_SPEC): Likewise. * config/mn10300/linux.h (LIB_SPEC): Likewise. * config/sh/linux.h (LIB_SPEC): Likewise. From-SVN: r94244 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 35199402c5c..cadcf1eecf4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-01-25 Daniel Jacobowitz + + * config/mips/linux.h (LIB_SPEC): Remove -rpath-link. + * config/mips/linux64.h (LIB_SPEC): Likewise. + * config/mn10300/linux.h (LIB_SPEC): Likewise. + * config/sh/linux.h (LIB_SPEC): Likewise. + 2005-01-25 Aldy Hernandez * config/frv/frv.c (frv_legitimize_tls_address): New. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 4ca547d6768..47e24b63148 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -1,5 +1,5 @@ /* Definitions for MIPS running Linux-based GNU systems with ELF format. - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. @@ -175,7 +175,6 @@ Boston, MA 02111-1307, USA. */ #undef LIB_SPEC #define LIB_SPEC "\ %{shared: -lc} \ -%{!static:-rpath-link %R/lib:%R/usr/lib} \ %{!shared: %{pthread:-lpthread} \ %{profile:-lc_p} %{!profile: -lc}}" diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h index 59c78e5cba9..34274b6fb26 100644 --- a/gcc/config/mips/linux64.h +++ b/gcc/config/mips/linux64.h @@ -33,10 +33,6 @@ Boston, MA 02111-1307, USA. */ #undef LIB_SPEC #define LIB_SPEC "\ %{shared: -lc} \ -%{!static: \ - %{mabi=n32:-rpath-link %R/lib32:%R/usr/lib32} \ - %{mabi=64:-rpath-link %R/lib64:%R/usr/lib64} \ - %{mabi=32:-rpath-link %R/lib:%R/usr/lib}} \ %{!shared: %{pthread:-lpthread} \ %{profile:-lc_p} %{!profile: -lc}}" diff --git a/gcc/config/mn10300/linux.h b/gcc/config/mn10300/linux.h index 0130498ce5a..217812d93f3 100644 --- a/gcc/config/mn10300/linux.h +++ b/gcc/config/mn10300/linux.h @@ -1,6 +1,6 @@ /* Definitions of taret machine for GNU compiler. Matsushita AM33/2.0 - Copyright 2001, 2002 Free Software Foundation, Inc. + Copyright 2001, 2002, 2005 Free Software Foundation, Inc. Contributed by Alexandre Oliva This file is part of GCC. @@ -43,7 +43,6 @@ #undef LIB_SPEC #define LIB_SPEC \ "%{shared: -lc} \ - %{!static:-rpath-link %R/lib:%R/usr/lib} \ %{!shared: %{pthread:-lpthread} \ %{profile:-lc_p} %{!profile: -lc}}" diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index 56c85d632b0..47a71acf19f 100644 --- a/gcc/config/sh/linux.h +++ b/gcc/config/sh/linux.h @@ -78,7 +78,6 @@ do { \ #define LIB_SPEC \ "%{pthread:-lpthread} \ %{shared: -lc} \ - %{!static:-rpath-link %R/lib:%R/usr/lib} \ %{!shared: \ %{mieee-fp:-lieee} \ %{profile:-lc_p} %{!profile: -lc}}"