OSDN Git Service

* include/sparc-signal.h: Renamed to ...
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jul 2010 12:03:54 +0000 (12:03 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jul 2010 12:03:54 +0000 (12:03 +0000)
* include/solaris-signal.h: ... this.
* configure.ac: Use it on any *-*-solaris2* target.
* configure: Regenerate.
* configure.host (i?86-*-solaris2*): Set can_unwind_signal=yes.
* Makefile.am (prims.lo): Add -fno-omit-frame-pointer to AM_CXXFLAGS.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162217 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/Makefile.am
libjava/Makefile.in
libjava/configure
libjava/configure.ac
libjava/configure.host
libjava/include/solaris-signal.h [moved from libjava/include/sparc-signal.h with 100% similarity]

index 5cb9b57..de24a9e 100644 (file)
@@ -1,3 +1,13 @@
+2010-07-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * include/sparc-signal.h: Renamed to ...
+       * include/solaris-signal.h: ... this.
+       * configure.ac: Use it on any *-*-solaris2* target.
+       * configure: Regenerate.
+       * configure.host (i?86-*-solaris2*): Set can_unwind_signal=yes.
+       * Makefile.am (prims.lo): Add -fno-omit-frame-pointer to AM_CXXFLAGS.
+       * Makefile.in: Regenerate.
+
 2010-07-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac (ANONVERSCRIPT): Handle sun style.
index 7bcb556..7b67ed0 100644 (file)
@@ -444,6 +444,8 @@ libgcj_la_SOURCES = prims.cc jni.cc exception.cc stacktrace.cc \
 
 ## We need to compile at least the interpreter this way.
 interpret.lo:  AM_CXXFLAGS += -fwrapv
+## Necessary so EH works on 64-bit Solaris 2.
+prims.lo: AM_CXXFLAGS += -fno-omit-frame-pointer
 
 if USING_BOEHMGC
 libgcj_la_SOURCES += boehm.cc
index acf4fae..9daa03e 100644 (file)
@@ -10535,6 +10535,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
 
 
 interpret.lo:  AM_CXXFLAGS += -fwrapv
+prims.lo: AM_CXXFLAGS += -fno-omit-frame-pointer
 @BUILD_SUBLIBS_TRUE@libgcj-noncore-dummy.dll.a : $(srcdir)/libgcj-noncore-dummy.def
 @BUILD_SUBLIBS_TRUE@   $(DLLTOOL) -d $^ -l $@ --dllname cyggcj-noncore-$(DLL_VERSION).dll 
 
index c83dfca..89d5b6c 100755 (executable)
@@ -24160,8 +24160,8 @@ case "${host}" in
  i?86-*-linux*)
     SIGNAL_HANDLER=include/i386-signal.h
     ;;
sparc*-sun-solaris*)
-    SIGNAL_HANDLER=include/sparc-signal.h
*-*-solaris2*)
+    SIGNAL_HANDLER=include/solaris-signal.h
     ;;
 # ia64-*)
 #    SYSDEP_SOURCES=sysdep/ia64.c
index 7155a5b..477766a 100644 (file)
@@ -1680,8 +1680,8 @@ case "${host}" in
  i?86-*-linux*)
     SIGNAL_HANDLER=include/i386-signal.h
     ;;
sparc*-sun-solaris*)
-    SIGNAL_HANDLER=include/sparc-signal.h
*-*-solaris2*)
+    SIGNAL_HANDLER=include/solaris-signal.h
     ;;
 # ia64-*)
 #    SYSDEP_SOURCES=sysdep/ia64.c
index 460ef2f..665fbe3 100644 (file)
@@ -318,6 +318,9 @@ EOF
        DIVIDESPEC=-fuse-divide-subroutine
        CHECKREFSPEC=-fcheck-references
        ;;
+  i?86-*-solaris2*)
+       can_unwind_signal=yes
+       ;;
   *-*-freebsd*)
        slow_pthread_self=
        ;;