From: Joseph Myers Date: Wed, 13 Aug 2008 11:51:41 +0000 (+0100) Subject: linux64.h (LINK_ARCH32_SPEC, [...]): Use %R in -Y P argument. X-Git-Tag: releases/gcc-4.4.0~3156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71cfaafc1d93ff3f955ac587fd745c0785f340b;p=thirdparty%2Fgcc.git linux64.h (LINK_ARCH32_SPEC, [...]): Use %R in -Y P argument. * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, LINK_SPEC): Use %R in -Y P argument. From-SVN: r139053 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ab8c8052c64..40868383c0a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-08-13 Joseph Myers + + * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, + LINK_SPEC): Use %R in -Y P argument. + 2008-08-13 Manuel Lopez-Ibanez PR c/15236 diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 4c35dedacfb5..4971048a31de 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -121,7 +121,7 @@ along with GCC; see the file COPYING3. If not see { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ { "link_arch", LINK_ARCH_SPEC }, -#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \ +#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \ %{!shared: \ %{!ibcs: \ %{!static: \ @@ -130,7 +130,7 @@ along with GCC; see the file COPYING3. If not see %{static:-static}}} \ " -#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \ +#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ %{!shared: \ %{!ibcs: \ %{!static: \ @@ -211,7 +211,7 @@ along with GCC; see the file COPYING3. If not see #else /* !SPARC_BI_ARCH */ #undef LINK_SPEC -#define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \ +#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \ %{!shared: \ %{!ibcs: \ %{!static: \