From c71cfaafc1d93ff3f955ac587fd745c0785f340b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 13 Aug 2008 12:51:41 +0100 Subject: 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 --- gcc/config/sparc/linux64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/config/sparc') diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 4c35ded..4971048 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: \ -- cgit v1.1