]> gcc.gnu.org Git - gcc.git/commitdiff
x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
authorAndrew Haley <aph@redhat.com>
Wed, 22 Jan 2003 17:47:04 +0000 (17:47 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 22 Jan 2003 17:47:04 +0000 (17:47 +0000)
2003-01-22  Andrew Haley  <aph@redhat.com>

        * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
        * configure.host (CHECKREFSPEC): Define for x86_64.

From-SVN: r61600

libjava/ChangeLog
libjava/configure.host
libjava/include/x86_64-signal.h

index 31f95abbf6db74df0f8443fa1f853a2f9c6b93b6..8d394ca98b7ebaa6772394389399fb700b780f52 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-22  Andrew Haley  <aph@redhat.com>
+
+        * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
+        * configure.host (CHECKREFSPEC): Define for x86_64.
+
 2003-01-21  Tom Tromey  <tromey@redhat.com>
 
        * java/util/natResourceBundle.cc (getCallingClassLoader): Start
index 40e4e38590a34772c0bd754ce2809d18c529c198..3736ef4e9d12d179bd414d030deffe3fd2534c71 100644 (file)
@@ -86,6 +86,7 @@ case "${host}" in
        enable_getenv_properties_default=no
        ;;
   i686-*|i586-*|i486-*|i386-*)
+      CHECKREFSPEC="%{m32:-fcheck-references}"
        sysdeps_dir=i386
        libgcj_flags="${libgcj_flags} -ffloat-store"
        libgcj_interpreter=yes
index c368dd31e87ed8f2fa999ca29898e69f25d80a88..b5bb8236f1083a5b35e528695a69ddeeda2ff2c0 100644 (file)
@@ -16,6 +16,8 @@ details.  */
 #include <signal.h>
 #include <sys/syscall.h>
 
+#ifdef __x86_64__
+
 #define HANDLE_SEGV 1
 
 #define SIGNAL_HANDLER(_name)  \
@@ -79,5 +81,16 @@ while (0)
  * go away if all systems ever have pthreads libraries that are
  * compiled with unwind info.  */
 
+#else /* __x86_64__ */
+
+/* This is for the 32-bit subsystem on on x86-64.  Catching signals
+   doesn't yet work on that target.  */
+
+#undef HANDLE_SEGV
+#undef HANDLE_FPE
+
+#define INIT_SEGV   do {} while (0)
+#define INIT_FPE   do {} while (0)
+
+#endif /* __x86_64__ */
 #endif /* JAVA_SIGNAL_H */
-  
This page took 0.068896 seconds and 5 git commands to generate.