From 3e03217e07c23f07028c21b16280fdc2048a9f01 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 19 Jan 2011 20:45:30 +0000 Subject: [PATCH] sysv4.h (LINK_PATH_SPEC): Remove. * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. (LINK_SHLIB_SPEC): Don't use %(link_path). (SUBTARGET_EXTRA_SPECS): Remove link_path. From-SVN: r169026 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/sysv4.h | 23 ++--------------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66743b5c190..de6552c5201 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-01-19 Joseph Myers + + * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. + (LINK_SHLIB_SPEC): Don't use %(link_path). + (SUBTARGET_EXTRA_SPECS): Remove link_path. + 2011-01-19 Joseph Myers * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 746a86fade4..9bb37a45d91 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -601,23 +601,6 @@ extern int fixuplabelno; %{!mbss-plt: %{!msecure-plt: %(cc1_secure_plt_default)}} \ %{profile: -p}" -/* Don't put -Y P, for cross compilers. */ -#ifndef CROSS_DIRECTORY_STRUCTURE -#define LINK_PATH_SPEC "\ -%{!R*:%{L*:-R %*}} \ -%{!nostdlib: %{!YP,*: \ - %{compat-bsd: \ - %{p:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ - %{!p:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}} \ - %{!R*: %{!L*: -R /usr/ucblib}} \ - %{!compat-bsd: \ - %{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ - %{!p:-Y P,/usr/ccs/lib:/usr/lib}}}}" - -#else -#define LINK_PATH_SPEC "" -#endif - /* Default starting address if specified. */ #define LINK_START_SPEC "\ %{mads : %(link_start_ads) ; \ @@ -645,11 +628,10 @@ extern int fixuplabelno; /* Shared libraries are not default. */ #define LINK_SHLIB_SPEC "\ -%{mshlib: %(link_path) } \ %{!mshlib: %{!shared: %{!symbolic: -dn -Bstatic}}} \ %{static: } \ -%{shared:-G -dy -z text %(link_path) } \ -%{symbolic:-Bsymbolic -G -dy -z text %(link_path) }" +%{shared:-G -dy -z text } \ +%{symbolic:-Bsymbolic -G -dy -z text }" /* Override the default target of the linker. */ #define LINK_TARGET_SPEC "\ @@ -975,7 +957,6 @@ ncrtn.o%s" { "endfile_netbsd", ENDFILE_NETBSD_SPEC }, \ { "endfile_openbsd", ENDFILE_OPENBSD_SPEC }, \ { "endfile_default", ENDFILE_DEFAULT_SPEC }, \ - { "link_path", LINK_PATH_SPEC }, \ { "link_shlib", LINK_SHLIB_SPEC }, \ { "link_target", LINK_TARGET_SPEC }, \ { "link_start", LINK_START_SPEC }, \