Commit f8061f6a by Andrew Haley Committed by Andrew Haley

x86_64-signal.h: Add simple handler for x86_64 32-bit mode.

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
parent 00b51d29
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> 2003-01-21 Tom Tromey <tromey@redhat.com>
* java/util/natResourceBundle.cc (getCallingClassLoader): Start * java/util/natResourceBundle.cc (getCallingClassLoader): Start
......
...@@ -86,6 +86,7 @@ case "${host}" in ...@@ -86,6 +86,7 @@ case "${host}" in
enable_getenv_properties_default=no enable_getenv_properties_default=no
;; ;;
i686-*|i586-*|i486-*|i386-*) i686-*|i586-*|i486-*|i386-*)
CHECKREFSPEC="%{m32:-fcheck-references}"
sysdeps_dir=i386 sysdeps_dir=i386
libgcj_flags="${libgcj_flags} -ffloat-store" libgcj_flags="${libgcj_flags} -ffloat-store"
libgcj_interpreter=yes libgcj_interpreter=yes
......
...@@ -16,6 +16,8 @@ details. */ ...@@ -16,6 +16,8 @@ details. */
#include <signal.h> #include <signal.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#ifdef __x86_64__
#define HANDLE_SEGV 1 #define HANDLE_SEGV 1
#define SIGNAL_HANDLER(_name) \ #define SIGNAL_HANDLER(_name) \
...@@ -79,5 +81,16 @@ while (0) ...@@ -79,5 +81,16 @@ while (0)
* go away if all systems ever have pthreads libraries that are * go away if all systems ever have pthreads libraries that are
* compiled with unwind info. */ * compiled with unwind info. */
#endif /* JAVA_SIGNAL_H */ #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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment