Commit c71cfaaf by Joseph Myers Committed by Joseph Myers

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
parent 1da5099e
2008-08-13 Joseph Myers <joseph@codesourcery.com>
* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
LINK_SPEC): Use %R in -Y P argument.
2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/15236 PR c/15236
......
...@@ -121,7 +121,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -121,7 +121,7 @@ along with GCC; see the file COPYING3. If not see
{ "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \ { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
{ "link_arch", LINK_ARCH_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: \ %{!shared: \
%{!ibcs: \ %{!ibcs: \
%{!static: \ %{!static: \
...@@ -130,7 +130,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -130,7 +130,7 @@ along with GCC; see the file COPYING3. If not see
%{static:-static}}} \ %{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: \ %{!shared: \
%{!ibcs: \ %{!ibcs: \
%{!static: \ %{!static: \
...@@ -211,7 +211,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -211,7 +211,7 @@ along with GCC; see the file COPYING3. If not see
#else /* !SPARC_BI_ARCH */ #else /* !SPARC_BI_ARCH */
#undef LINK_SPEC #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: \ %{!shared: \
%{!ibcs: \ %{!ibcs: \
%{!static: \ %{!static: \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment