sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 19 Jan 2011 20:41:37 +0000 (20:41 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 19 Jan 2011 20:41:37 +0000 (20:41 +0000)
* config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
(NO_SHARED_LIB_SUPPORT): Remove.
(LINK_SHLIB_SPEC): Remove one conditional definition.

From-SVN: r169025

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 0988524..66743b5 100644 (file)
@@ -1,5 +1,11 @@
 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.
+
+2011-01-19  Joseph Myers  <joseph@codesourcery.com>
+
        * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
        %{call_shared}.
        * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
index 3491918..746a86f 100644 (file)
@@ -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 "\