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
This commit is contained in:
Joseph Myers 2011-01-19 20:45:30 +00:00 committed by Joseph Myers
parent 5bbe9b3f48
commit 3e03217e07
2 changed files with 8 additions and 21 deletions

View File

@ -1,3 +1,9 @@
2011-01-19 Joseph Myers <joseph@codesourcery.com>
* 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 <joseph@codesourcery.com>
* config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.

View File

@ -601,23 +601,6 @@ extern int fixuplabelno;
%{!mbss-plt: %{!msecure-plt: %(cc1_secure_plt_default)}} \
%{profile: -p}"
/* Don't put -Y P,<path> 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 }, \