public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* svr4.h avoidance: s390
@ 2010-12-09 18:45 Joseph S. Myers
  2010-12-13 11:35 ` Andreas Krebbel
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph S. Myers @ 2010-12-09 18:45 UTC (permalink / raw)
  To: gcc-patches; +Cc: hpenner, uweigand, Andreas.Krebbel

This patch in the series removing svr4.h from the headers used by
particular targets in GCC stops s390 targets from using that header.
All three targets used the header, but none actually ended up using
any macros from it, so the patch just updates config.gcc not to use
the header for those targets.

Tested building cc1 and xgcc for crosses to s390-linux-gnu,
s390x-linux-gnu and s390x-ibm-tpf.  OK to commit?

2010-12-09  Joseph Myers  <joseph@codesourcery.com>

	* config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*):
	Don't use svr4.h.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 167658)
+++ gcc/config.gcc	(working copy)
@@ -2234,10 +2234,10 @@ rx-*-elf*)
 	tmake_file="${tmake_file} rx/t-rx"
 	;;
 s390-*-linux*)
-	tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h"
+	tm_file="s390/s390.h dbxelf.h elfos.h linux.h glibc-stdint.h s390/linux.h"
 	;;
 s390x-*-linux*)
-	tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h"
+	tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h linux.h glibc-stdint.h s390/linux.h"
 	tm_p_file=s390/s390-protos.h
 	md_file=s390/s390.md
 	extra_modes=s390/s390-modes.def
@@ -2245,7 +2245,7 @@ s390x-*-linux*)
 	tmake_file="${tmake_file} s390/t-linux64"
 	;;
 s390x-ibm-tpf*)
-        tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h s390/tpf.h"
+        tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h s390/tpf.h"
         tm_p_file=s390/s390-protos.h
         md_file=s390/s390.md
         extra_modes=s390/s390-modes.def

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: svr4.h avoidance: s390
  2010-12-09 18:45 svr4.h avoidance: s390 Joseph S. Myers
@ 2010-12-13 11:35 ` Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2010-12-13 11:35 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: gcc-patches

> Tested building cc1 and xgcc for crosses to s390-linux-gnu,
> s390x-linux-gnu and s390x-ibm-tpf.  OK to commit?
> 
> 2010-12-09  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* config.gcc (s390-*-linux*, s390x-*-linux*, s390x-ibm-tpf*):
> 	Don't use svr4.h.

Bootstrapped and regtested on s390x. Please apply.

Thanks!

-Andreas-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-13  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 18:45 svr4.h avoidance: s390 Joseph S. Myers
2010-12-13 11:35 ` Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).