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
This commit is contained in:
parent
0a944ef648
commit
02731d29be
8 changed files with 89 additions and 39 deletions
|
@ -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. */
|
||||
|
||||
#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. */
|
||||
/* This is for the 32-bit subsystem on on x86-64. */
|
||||
|
||||
#undef HANDLE_SEGV
|
||||
#undef HANDLE_FPE
|
||||
|
||||
#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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue