Patchwork [tpf] update for latest build system

login
register
mail settings
Submitter DJ Delorie
Date March 23, 2012, 12:38 a.m.
Message ID <201203230038.q2N0cfaS014685@greed.delorie.com>
Download mbox | patch
Permalink /patch/148368/
State New
Headers show

Comments

DJ Delorie - March 23, 2012, 12:38 a.m.
Per request from IBM...

	* config/s390/s390.h (LINK_SPEC): Remove, no longer needed.
	(LIBSTDCXX): Change to CPP2.
DJ Delorie - April 20, 2012, 6:40 p.m.
> 	* config/s390/s390.h (LINK_SPEC): Remove, no longer needed.
> 	(LIBSTDCXX): Change to CPP2.

Can one S390 maintainers approve this please?

http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01545.html
Andreas Krebbel - April 23, 2012, 11:22 a.m.
On Thu, Mar 22, 2012 at 08:38:41PM -0400, DJ Delorie wrote:
> 
> Per request from IBM...
> 
> 	* config/s390/s390.h (LINK_SPEC): Remove, no longer needed.
> 	(LIBSTDCXX): Change to CPP2.

Ok.

Bye,

-Andreas-
DJ Delorie - April 24, 2012, 1:53 a.m.
> > Per request from IBM...
> > 
> > 	* config/s390/s390.h (LINK_SPEC): Remove, no longer needed.
> > 	(LIBSTDCXX): Change to CPP2.
> 
> Ok.
> 
> Bye,
> 
> -Andreas-

Thanks!  Committed.

Patch

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 (darcypj@us.ibm.com),
                   Hartmut Penner (hpenner@de.ibm.com), and
                   Ulrich Weigand (uweigand@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 */