aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/x86_64-signal.h
AgeCommit message (Collapse)AuthorFilesLines
2007-01-12i386-signal.h: Rewrite to use rt_sigaction.Andrew Haley1-1/+1
2007-01-12 Andrew Haley <aph@redhat.com> * include/i386-signal.h: Rewrite to use rt_sigaction. From-SVN: r120721
2007-01-112007-01-11 Andrew Haley <aph@redhat.com>Andrew Haley1-7/+8
* prims.cc (jdwpOptions) Fix deprecated cast from char[] constant to char*. * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix aliasing violation. From-SVN: r120672
2006-04-10x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.Andrew Haley1-9/+105
2006-04-10 Andrew Haley <aph@redhat.com> * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New. (SIGNAL_HANDLER): Mark arg as unused. * configure.host (x86_64-* DIVIDESPEC): Use fno-use-divide-subroutine. From-SVN: r112827
2006-02-27re PR other/26208 (Serious problem with unwinding through signal frames)Jakub Jelinek1-11/+2
PR other/26208 * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field. (extract_cie_info): Handle S flag in augmentation string. (execute_cfa_program): If context->signal_frame, execute also fs->pc == context->ra instructions. (uw_frame_state_for): If context->signal_frame, don't subtract one from context->ra to find FDE. (uw_update_context_1): Set context->signal_frame to fs->signal_frame. (_Unwind_GetIPInfo): New function. * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field. * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * unwind-sjlj.c (_Unwind_GetIPInfo): New function. * unwind-generic.h (_Unwind_GetIPInfo): New prototype. * unwind-compat.c (_Unwind_GetIPInfo): New function. * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0. * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function. * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define. * config/i386/linux-unwind.h (x86_fallback_frame_state, x86_64_fallback_frame_state): Set fs->signal_frame. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise. (MD_FROB_UPDATE_CONTEXT): Define unconditionally. (frob_update_context): Likewise. Workaround missing S flag in Linux 2.6.12 - 2.6.16 kernel vDSOs. * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise. Remove the psw_addr + 1 hack. libjava/ * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro. (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through to throw. * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty macro. * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty macro. libstdc++-v3/ * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. From-SVN: r111488
2006-02-09re PR libgcj/25187 (dereferencing type-punned pointer warnings while ↵Bryce McKinlay1-3/+3
building libgcj) 2006-02-08 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/25187: * gnu/gcj/io/natSimpleSHSStream.cc (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast. * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to _Jv_InterpFrame(). * boehm.cc: #undef some autoconf macros before including gc-config.h. (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable. (_Jv_MarkArray): Likewise. * java/lang/ref/natReference.cc (java::lang::ref::Reference::create): Simplify _Jv_GCRegisterDisappearingLink() call. * java/lang/Class.h (getComponentType): Use element_type. (element_type): New field declaration, as a union with "methods". * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type". * java/net/natVMNetworkInterfacePosix.cc (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to avoid sign comparison warning. * include/java-interp.h (_Jv_InterpFrame): Take thread as second argument, not parent call frame. * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly, without a cast. (restore_rt): Declare with hidden visibility, not "static". * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string constant. * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias warning From-SVN: r110783
2006-01-18re PR libgcj/25840 (libjava is broken on Linux/x86-64)H.J. Lu1-0/+1
2006-01-18 H.J. Lu <hongjiu.lu@intel.com> PR libgcj/25840 * include/x86_64-signal.h (RESTORE2): Add ".text\n". From-SVN: r109909
2004-02-08* include/x86_64-signal.h: Fix typo.Andreas Jaeger1-1/+1
From-SVN: r77491
2004-01-23linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Corrected to handle kernels with ↵Jakub Jelinek1-10/+7
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
2003-06-13prims.cc (catch_segv): Create exception in handler.Andrew Haley1-1/+0
2003-06-12 Andrew Haley <aph@redhat.com> * prims.cc (catch_segv): Create exception in handler. (catch_fpe): Likewise. (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise. (_Jv_ThrowSignal): Remove. * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp. * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference to nullp and arithexception. * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise. * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise. From-SVN: r67892
2003-06-03x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to ↵Andrew Haley1-11/+11
prevent optimization from removing it. 2003-06-03 Andrew Haley <aph@redhat.com> * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it. From-SVN: r67379
2003-01-22x86_64-signal.h: Add simple handler for x86_64 32-bit mode.Andrew Haley1-1/+14
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
2003-01-14dwarf2-signal.h: Remove x86_64.Andrew Haley1-0/+83
2003-01-10 Andrew Haley <aph@redhat.com> * include/dwarf2-signal.h: Remove x86_64. * configure.host (x86_64 DIVIDESPEC): Remove. * include/x86_64-signal.h: New file. * configure.in: Regenerate. From-SVN: r61284