aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-19 20:41:37 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-01-19 20:41:37 +0000
commit5bbe9b3f481d8ff97c3f91dbdb83da4a7f53d391 (patch)
tree21cc30e093c4fc6d4f7e0af9dd22ae7155af8609 /gcc/config
parent368e0b39344b9d3ce1ea5528c65f46cf613e05f0 (diff)
downloadgcc-5bbe9b3f481d8ff97c3f91dbdb83da4a7f53d391.zip
gcc-5bbe9b3f481d8ff97c3f91dbdb83da4a7f53d391.tar.gz
gcc-5bbe9b3f481d8ff97c3f91dbdb83da4a7f53d391.tar.bz2
sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
* config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. (NO_SHARED_LIB_SUPPORT): Remove. (LINK_SHLIB_SPEC): Remove one conditional definition. From-SVN: r169025
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/sysv4.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 3491918..746a86f 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -1,6 +1,7 @@
/* Target definitions for GNU compiler for PowerPC running System V.4
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
- 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+ 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file is part of GCC.
@@ -642,21 +643,6 @@ extern int fixuplabelno;
%(link_target) \
%(link_os)"
-/* For now, turn off shared libraries by default. */
-#ifndef SHARED_LIB_SUPPORT
-#define NO_SHARED_LIB_SUPPORT
-#endif
-
-#ifndef NO_SHARED_LIB_SUPPORT
-/* Shared libraries are default. */
-#define LINK_SHLIB_SPEC "\
-%{!static: %(link_path) %{!R*:%{L*:-R %*}}} \
-%{mshlib: } \
-%{static:-dn -Bstatic} \
-%{shared:-G -dy -z text} \
-%{symbolic:-Bsymbolic -G -dy -z text}"
-
-#else
/* Shared libraries are not default. */
#define LINK_SHLIB_SPEC "\
%{mshlib: %(link_path) } \
@@ -664,7 +650,6 @@ extern int fixuplabelno;
%{static: } \
%{shared:-G -dy -z text %(link_path) } \
%{symbolic:-Bsymbolic -G -dy -z text %(link_path) }"
-#endif
/* Override the default target of the linker. */
#define LINK_TARGET_SPEC "\