aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/i386-signal.h
AgeCommit message (Collapse)AuthorFilesLines
2016-09-30Makefile.def: Remove libjava.Andrew Haley1-178/+0
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
2011-12-20Support 64-bit libjava multilib for i?86-linuxRainer Orth1-1/+12
* configure.ac (i?86-*-linux*): Set SIGNAL_HANDLER_AUX. * configure: Regenerate. * include/i386-signal.h: Wrap in __i386__, include java-signal-aux.h otherwise. From-SVN: r182528
2007-01-12i386-signal.h: Rewrite to use rt_sigaction.Andrew Haley1-55/+67
2007-01-12 Andrew Haley <aph@redhat.com> * include/i386-signal.h: Rewrite to use rt_sigaction. From-SVN: r120721
2006-02-27re PR other/26208 (Serious problem with unwinding through signal frames)Jakub Jelinek1-22/+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
2005-09-09re PR libgcj/22084 (Divide_1 test case hangs)Andrew Haley1-5/+12
2005-09-08 Andrew Haley <aph@redhat.com> PR java/22084 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if R/M field in instruction is 100. From-SVN: r104094
2004-09-26prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings ↵Per Bothner1-1/+1
in the non-POSIX_VERSION case. * prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case. Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE, so place it inside an #if block. * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__. * include/i386-signal.h (SIGNAL_HANDLER): Likewise * include/mips-signal.h (SIGNAL_HANDLER): Likewise * include/sparc-signal.h (SIGNAL_HANDLER): Likewise From-SVN: r88148
2004-02-08i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.Diego Novillo1-1/+1
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs. From-SVN: r77489
2004-02-08i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.Diego Novillo1-1/+1
* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs. From-SVN: r77484
2003-07-30i386-signal.h (RESTORE): New.Andrew Haley1-14/+29
2003-07-08 Andrew Haley <aph@redhat.com> * include/i386-signal.h (RESTORE): New. (INIT_SEGV): Set restorer. (INIT_FPE): Likewise. From-SVN: r69957
2003-06-13prims.cc (catch_segv): Create exception in handler.Andrew Haley1-3/+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
2002-03-18i386-signal.h (old_i386_kernel_sigaction): New.Andrew Haley1-26/+41
2002-03-18 Andrew Haley <aph@cambridge.redhat.com> * include/i386-signal.h (old_i386_kernel_sigaction): New. INIT_SEGV: Use old_i386_kernel_sigaction. INIT_FP: Likewise. From-SVN: r50980
2001-07-17i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.'Alexandre Petit-Bianco1-1/+0
2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com> * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.' (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html ) From-SVN: r44093
2001-07-06i386-signal.h: Don't do anything with unsigned divide overflow except throw ↵Andrew Haley1-15/+0
an exception. 2001-07-06 Andrew Haley <aph@cambridge.redhat.com> * include/i386-signal.h: Don't do anything with unsigned divide overflow except throw an exception. From-SVN: r43813
2001-05-29i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer...Andrew Haley1-11/+6
2001-05-29 Andrew Haley <aph@redhat.com> * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer: the dwarf unwinder in libgcc will do everything that's needed. (HANDLE_DIVIDE_OVERFLOW): Tidy. Don't mess with stack frames any more than we absolutely need to. * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha. * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on Alpha. (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not "$libgcj_sjlj". * configure: Rebuilt. * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC for Alpha. (SIGNAL_HANDLER): Use siginfo style handler. (INIT_SEGV): Likewise. (INIT_FPE): Likewise. * include/ppc-signal.h: Delete whole file. From-SVN: r42691
2001-02-15i386-signal.h (INIT_SEGV): Use a direct system call to set the handler.Andrew Haley1-1/+1
2001-02-14 Andrew Haley <aph@redhat.com> * include/i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. From-SVN: r39724
2001-01-302001-01-26 Andrew Haley <aph@redhat.com>Andrew Haley1-2/+16
(INIT_FPE): Use a direct system call to set the handler. From-SVN: r39354
2000-05-19Jumbo patch:Tom Tromey1-1/+1
* Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes From-SVN: r34028
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-07-07i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point ↵Andrew Haley1-3/+16
after the instruction where the trap... 1999-07-07 Andrew Haley <aph@cygnus.com> * include/i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point after the instruction where the trap occurred. (HANDLE_DIVIDE_OVERFLOW): Ditto. From-SVN: r27989
1999-07-01i386-signal.h: Replace sigaction () with __sigaction ().Andrew Haley1-2/+2
1999-07-01 Andrew Haley <aph@cygnus.com> * include/i386-signal.h: Replace sigaction () with __sigaction (). This is a workaround for a bug in glibc's pthreads package which doesn't deliver any sigcontext information to a signal handler. From-SVN: r27876
1999-05-20prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.Andrew Haley1-6/+77
1999-05-20 Andrew Haley <aph@cygnus.com> * libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added. * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro. (INIT_FPE): Exception string made more informative. * include/sparc-signal.h (INIT_FPE): Exception string made more informative. * testsuite/libjava.lang/Divide_1.java: New file. * testsuite/libjava.lang/Divide_1.out: New file. From-SVN: r27056
1999-04-20sparc-signal.h: new file.Andrew Haley1-3/+29
1999-04-20 Andrew Haley <aph@cygnus.com> * include/sparc-signal.h: new file. * configure.in: include/sparc-signal.h added. * configure: regenerated. * prims.cc (JvRunMain): signal handling code rewritten to be more portable. (catch_segv): ditto. (catch_fpe): ditto. * include/i386-signal.h: reorganized. * include/default-signal.h: reorganized. From-SVN: r26560
1999-04-13i386-signal.h, [...]: New files.Andrew Haley1-0/+38
1999-04-13 Andrew Haley <aph@cygnus.com> * include/i386-signal.h, include/default-signal.h: New files. * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception handler. (catch_fpe): New function. * configure.in: Make link to appropriate include/java-signal.h. * configure: Rebuilt. * Makefile.am: include/java-signal.h added to dependency list. * Makefile.in: Rebuilt. From-SVN: r26400