2008-07-30 Paolo Bonzini <bonzini@gnu.org>
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 30 Jul 2008 15:03:57 +0000 (15:03 +0000)
committerPaolo Bonzini <bonzini@gnu.org>
Wed, 30 Jul 2008 15:03:57 +0000 (15:03 +0000)
Sync with gcc:
2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: Add makefile fragments for hpux.
        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

config:
2008-07-30  Paolo Bonzini  <bonzini@gnu.org>

* mh-pa: New, from gcc/config/pa/x-ada.
* mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.

2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>

        * tls.m4: Fix typos.

ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
config/ChangeLog
config/mh-pa [new file with mode: 0644]
config/mh-pa-hpux10 [new file with mode: 0644]
config/tls.m4
configure
configure.ac

index a40be7e3c003e6376bfbe713385f71cb72f11ec0..d20819b67a1f08126b919d915ea801c8f79d559e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-07-30 Paolo Bonzini  <bonzini@gnu.org>
+
+       Sync with gcc:
+       2008-07-30 Paolo Bonzini  <bonzini@gnu.org>
+
+        * configure.ac: Add makefile fragments for hpux.
+        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
+        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
+        * configure: Regenerate.
+        * Makefile.in: Regenerate.
+
+       2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
+        * Makefile.in: Regenerate.
+        * configure: Regenerate.
+
 2008-06-18  Ian Lance Taylor  <iant@google.com>
 
        * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.
index 3924617ebd3daad8f375cfdc0471dbe6a5961520..832fc4236e9b878c154dbd341710b0f5a6e318c1 100644 (file)
@@ -226,6 +226,7 @@ flags_to_pass = { flag= YACC ; };
 
 // Host tools
 flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
+flags_to_pass = { flag= ADA_CFLAGS ; };
 flags_to_pass = { flag= AR_FLAGS ; };
 flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
 flags_to_pass = { flag= BOOT_CFLAGS ; };
index 8a43024ccae8074c4ed7e410b430884c4e6b7994..d9ef0681497579c218dea12335f0edc8eff87e7b 100644 (file)
@@ -164,6 +164,7 @@ HOST_SUBDIR = @host_subdir@
 HOST_EXPORTS = \
        $(BASE_EXPORTS) \
        CC="$(CC)"; export CC; \
+       ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
        CFLAGS="$(CFLAGS)"; export CFLAGS; \
        CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
        CXX="$(CXX)"; export CXX; \
@@ -514,6 +515,7 @@ BASE_FLAGS_TO_PASS = \
        "SHELL=$(SHELL)" \
        "YACC=$(YACC)" \
        "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
+       "ADA_CFLAGS=$(ADA_CFLAGS)" \
        "AR_FLAGS=$(AR_FLAGS)" \
        "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
        "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
@@ -53606,7 +53608,8 @@ config.status: configure
 
 # Rebuilding configure.
 AUTOCONF = autoconf
-$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4
+$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
+       $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
        cd $(srcdir) && $(AUTOCONF)
 
 # ------------------------------
index 9c72014295d5caa57e236f36bd8d0efab874fd89..1f0c318012fa18abc36f2dc260409fcc41dd192b 100644 (file)
@@ -167,6 +167,7 @@ HOST_SUBDIR = @host_subdir@
 HOST_EXPORTS = \
        $(BASE_EXPORTS) \
        CC="$(CC)"; export CC; \
+       ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
        CFLAGS="$(CFLAGS)"; export CFLAGS; \
        CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
        CXX="$(CXX)"; export CXX; \
@@ -1650,7 +1651,8 @@ config.status: configure
 
 # Rebuilding configure.
 AUTOCONF = autoconf
-$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4
+$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
+       $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
        cd $(srcdir) && $(AUTOCONF)
 
 # ------------------------------
index 0ec955dce15db89045680001c5ed13a5c6536e02..a35fe14673cf08f81390bf04a285f16b0d26a14d 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-30  Paolo Bonzini  <bonzini@gnu.org>
+
+       * mh-pa: New, from gcc/config/pa/x-ada.
+       * mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.
+
 2008-07-25  Keith Seitz  <keiths@redhat.com>
 
        * acinclude.m4: Remove libide, libgui, and all the other Tcl
        version _GCC_AUTOCONF_VERSION throughout the tree.
        (m4_wrap): New override, fix for Posix semantics of m4wrap.
 
+2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * tls.m4: Fix typos.
+
 2008-06-08  Joseph Myers  <joseph@codesourcery.com>
 
        PR tree-optimization/36218
-       * config/mh-mingw (LDFLAGS): Define.
+       * mh-mingw (LDFLAGS): Define.
 
 2008-06-05  Danny Smith  <dannysmith@users.sourceforge.net>
 
diff --git a/config/mh-pa b/config/mh-pa
new file mode 100644 (file)
index 0000000..b0005a2
--- /dev/null
@@ -0,0 +1,4 @@
+# The ada virtual array implementation requires that indexing be disabled on
+# hosts such as hpux that use a segmented memory architecture.  Both the c
+# and ada files need to be compiled with this option for correct operation.
+ADA_CFLAGS = -mdisable-indexing
diff --git a/config/mh-pa-hpux10 b/config/mh-pa-hpux10
new file mode 100644 (file)
index 0000000..99a2278
--- /dev/null
@@ -0,0 +1,4 @@
+# The ada virtual array implementation requires that indexing be disabled on
+# hosts such as hpux that use a segmented memory architecture.  Both the c
+# and ada files need to be compiled with this option for correct operation.
+ADA_CFLAGS = -mdisable-indexing -D_X_HPUX10
index b6c4c4a6a7da5677506dcf92f3928c9891e311b6..acb123f6986d499a37d24816065cb53c57e34436 100644 (file)
@@ -77,7 +77,7 @@ AC_DEFUN([GCC_CHECK_TLS], [
 dnl Check whether the target assembler supports TLS.
 AC_DEFUN([GCC_CHECK_CC_TLS], [
   GCC_ENABLE(tls, yes, [], [Use thread-local storage])
-  AC_CACHE_CHECK([whether the target asssembler upports thread-local storage],
+  AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
                 gcc_cv_have_cc_tls, [
     AC_COMPILE_IFELSE([__thread int a; int b; int main() { return a = b; }],
       [gcc_cv_have_cc_tls=yes], [gcc_cv_have_cc_tls=no])]
index 1c19007894318bc71358d3c7ef20bd442ee19eee..797cfcf55627963f7dbca9c6c348943c9a053162 100755 (executable)
--- a/configure
+++ b/configure
@@ -2844,10 +2844,18 @@ fi
     # without overflowing the jump tables (-J says to use a 32 bit table)
     tentative_cc="cc -J"
     ;;
-  *-hp-hpux*)
+  hppa*-hp-hpux10*)
     tentative_cc="cc -Wp,-H256000"
+    host_makefile_frag="config/mh-pa-hpux10"
     ;;
-  *-*-hiux*)
+  hppa*-hp-hpux* | hppa*-*-hiux*)
+    tentative_cc="cc -Wp,-H256000"
+    host_makefile_frag="config/mh-pa"
+    ;;
+  hppa*-*)
+    host_makefile_frag="config/mh-pa"
+    ;;
+  *-hp-hpux* | *-*-hiux*)
     tentative_cc="cc -Wp,-H256000"
     ;;
   rs6000-*-lynxos*)
index b7fb222298d2dd5410ee8b437a9501811aa9aa3e..dc9ffacf7c7ca5381982b2fe32ffa2d78f2d1339 100644 (file)
@@ -1067,10 +1067,18 @@ case "${host}" in
     # without overflowing the jump tables (-J says to use a 32 bit table)
     tentative_cc="cc -J"
     ;;
-  *-hp-hpux*)
+  hppa*-hp-hpux10*)
     tentative_cc="cc -Wp,-H256000"
+    host_makefile_frag="config/mh-pa-hpux10"
     ;;
-  *-*-hiux*)
+  hppa*-hp-hpux* | hppa*-*-hiux*)
+    tentative_cc="cc -Wp,-H256000"
+    host_makefile_frag="config/mh-pa"
+    ;;
+  hppa*-*)     
+    host_makefile_frag="config/mh-pa"
+    ;;
+  *-hp-hpux* | *-*-hiux*)
     tentative_cc="cc -Wp,-H256000"
     ;;
   rs6000-*-lynxos*)
This page took 0.056202 seconds and 4 git commands to generate.