This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][REVISED]: fix misc darwin9 hard-codings


Previously approved patch with revised change log
as requested by Andreas Tobler.
              Jack

2008-11-29  Jack Howarth  <howarth@bromo.med.uc.edu>

	configure.ac: Expand to darwin10 and later.
	configure: Regenerate.
	gcc/testsuite/gcc.dg/darwin-comm.c: Expand to darwin10 and later.
	libjava/configure.ac: Expand to darwin10 and later.
	libjava/configure: Regenerate.
	libjava/testsuite/lib/libjava.exp: Expand to darwin10 and later.

Index: configure
===================================================================
--- configure	(revision 142277)
+++ configure	(working copy)
@@ -2210,7 +2210,7 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin[912]*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
Index: gcc/testsuite/gcc.dg/darwin-comm.c
===================================================================
--- gcc/testsuite/gcc.dg/darwin-comm.c	(revision 142277)
+++ gcc/testsuite/gcc.dg/darwin-comm.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target *-*-darwin9* } } */
+/* { dg-do compile { target *-*-darwin[912]* } } */
 /* { dg-final { scan-assembler ".comm _foo,1,15" } } */
 
 char foo __attribute__ ((aligned(32768)));
Index: configure.ac
===================================================================
--- configure.ac	(revision 142277)
+++ configure.ac	(working copy)
@@ -446,7 +446,7 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin[912]*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
Index: libjava/configure.ac
===================================================================
--- libjava/configure.ac	(revision 142277)
+++ libjava/configure.ac	(working copy)
@@ -867,7 +867,7 @@
     # on Darwin -single_module speeds up loading of the dynamic libraries.
     extra_ldflags_libjava=-Wl,-single_module
     ;;
-*-*-darwin[[9]]*)
+*-*-darwin[912]*)
     extra_gij_ldflags=-Wl,-allow_stack_execute
     ;;
 arm*linux*eabi)
Index: libjava/testsuite/lib/libjava.exp
===================================================================
--- libjava/testsuite/lib/libjava.exp	(revision 142277)
+++ libjava/testsuite/lib/libjava.exp	(working copy)
@@ -430,7 +430,7 @@
 	    lappend args "additional_flags=-bind_at_load"
 	    lappend args "additional_flags=-multiply_defined suppress"
 	}
-	if { [istarget "*-*-darwin9*"] } {
+	if { [istarget "*-*-darwin9*"] || [istarget "*-*-darwin1*"] || [istarget "*-*-darwin2*"] } {
 	    lappend args "additional_flags=-Wl,-allow_stack_execute"
 	}
 
Index: libjava/configure
===================================================================
--- libjava/configure	(revision 142277)
+++ libjava/configure	(working copy)
@@ -20608,7 +20608,7 @@
     # on Darwin -single_module speeds up loading of the dynamic libraries.
     extra_ldflags_libjava=-Wl,-single_module
     ;;
-*-*-darwin[9]*)
+*-*-darwin[912]*)
     extra_gij_ldflags=-Wl,-allow_stack_execute
     ;;
 arm*linux*eabi)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]