aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-19 20:45:30 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-01-19 20:45:30 +0000
commit3e03217e07c23f07028c21b16280fdc2048a9f01 (patch)
tree784afa83eee659e20b4e6b7bdfcf135e4df4e6bb /gcc
parent5bbe9b3f481d8ff97c3f91dbdb83da4a7f53d391 (diff)
downloadgcc-3e03217e07c23f07028c21b16280fdc2048a9f01.zip
gcc-3e03217e07c23f07028c21b16280fdc2048a9f01.tar.gz
gcc-3e03217e07c23f07028c21b16280fdc2048a9f01.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/sysv4.h23
2 files changed, 8 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66743b5..de6552c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
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.
(NO_SHARED_LIB_SUPPORT): Remove.
(LINK_SHLIB_SPEC): Remove one conditional definition.
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 746a86f..9bb37a4 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,<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 }, \