diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-01-23 18:32:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2004-01-23 18:32:16 +0100 |
commit | 02731d29bed36e8a4b2e29ecb9ce8bbba5a27ace (patch) | |
tree | 69217cf85354fc3dea053bd54868f93c845f5e30 /libjava/include/x86_64-signal.h | |
parent | 0a944ef648a5d7cab40f741d7a4491904f200936 (diff) | |
download | gcc-02731d29bed36e8a4b2e29ecb9ce8bbba5a27ace.zip gcc-02731d29bed36e8a4b2e29ecb9ce8bbba5a27ace.tar.gz gcc-02731d29bed36e8a4b2e29ecb9ce8bbba5a27ace.tar.bz2 |
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with changed ucontext.
* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR)
[!__powerpc64__]: Corrected to handle kernels with changed ucontext.
* include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
header. For __powerpc64__ provide the default-signal.h definitions
for now.
* include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
instead of the dummy definitions.
* configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
(powerpc64*-*): Remove with_libffi_default.
Only add -mminimal-toc for 64-bit compilations.
* configure.in: Use powerpc-signal.h on powerpc64 as well.
(x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
* configure: Rebuilt.
From-SVN: r76437
Diffstat (limited to 'libjava/include/x86_64-signal.h')
-rw-r--r-- | libjava/include/x86_64-signal.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libjava/include/x86_64-signal.h b/libjava/include/x86_64-signal.h index eb03447..ab59e5e 100644 --- a/libjava/include/x86_64-signal.h +++ b/libjava/include/x86_64-signal.h @@ -10,14 +10,14 @@ Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ +#ifdef __x86_64__ + #ifndef JAVA_SIGNAL_H #define JAVA_SIGNAL_H 1 #include <signal.h> #include <sys/syscall.h> -#ifdef __x86_64__ - #define HANDLE_SEGV 1 #define SIGNAL_HANDLER(_name) \ @@ -80,16 +80,13 @@ while (0) * go away if all systems ever have pthreads libraries that are * compiled with unwind info. */ -#else /* __x86_64__ */ +#endif /* JAVA_SIGNAL_H */ -/* This is for the 32-bit subsystem on on x86-64. Catching signals - doesn't yet work on that target. */ +#else /* __x86_64__ */ -#undef HANDLE_SEGV -#undef HANDLE_FPE +/* This is for the 32-bit subsystem on on x86-64. */ -#define INIT_SEGV do {} while (0) -#define INIT_FPE do {} while (0) +#define sigcontext_struct sigcontext +#include <java-signal-aux.h> #endif /* __x86_64__ */ -#endif /* JAVA_SIGNAL_H */ |