Per request from IBM...

        * config/s390/s390.h (LINK_SPEC): Remove, no longer needed.
        (LIBSTDCXX): Change to CPP2.

Index: config/s390/tpf.h
===================================================================
--- config/s390/tpf.h   (revision 185677)
+++ config/s390/tpf.h   (working copy)
@@ -1,9 +1,9 @@
 /* Definitions for target OS TPF for GNU compiler, for IBM S/390 hardware
    Copyright (C) 2003, 2004, 2005, 2007, 2009,
-   2010, 2011 Free Software Foundation, Inc.
+   2010, 2011, 2012 Free Software Foundation, Inc.
    Contributed by P.J. Darcy (darc...@us.ibm.com),
                   Hartmut Penner (hpen...@de.ibm.com), and
                   Ulrich Weigand (uweig...@de.ibm.com).
 
 This file is part of GCC.
 
@@ -92,18 +92,12 @@ along with GCC; see the file COPYING3.  
 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
 
 #undef ASM_SPEC
 #define ASM_SPEC "%{m31&m64}%{mesa&mzarch}%{march=*} \
                   -alshd=%b.lst"
 
-/* It would be nice to get the system linker script define the ones that it
-   needed.  */
-#undef LIB_SPEC
-#define LIB_SPEC "-lCTIS -lCISO -lCLBM -lCTAL -lCFVS -lCTBX -lCTXO \
-                  -lCJ00 -lCTDF -lCOMX -lCOMS -lCTHD -lCTAD -lTPFSTUB"
-
 #undef TARGET_C99_FUNCTIONS
 #define TARGET_C99_FUNCTIONS 1
 
 #define ENTRY_SPEC "%{mmain:-entry=_start} \
                     %{!mmain:-entry=0}"
 
@@ -117,8 +111,8 @@ along with GCC; see the file COPYING3.  
    %{shared: -shared} \
    %{!shared:-shared} \
    %(entry_spec)"
 
 /* IBM copies these libraries over with these names.  */
 #define MATH_LIBRARY "CLBM"
-#define LIBSTDCXX "CPP1"
+#define LIBSTDCXX "CPP2"
 #endif /* ! _TPF_H */

Reply via email to