This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix and cleanup libjava/include/dwarf2-signal.h
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Andrew Haley <aph at redhat dot com>,Richard Henderson <rth at redhat dot com>
- Date: Fri, 13 Jun 2003 13:58:07 +0200
- Subject: [PATCH] Fix and cleanup libjava/include/dwarf2-signal.h
Hi,
the INIT_SEGV and INIT_FPE macros in dwarf2-signal.h are broken for Linux
where the userspace and kernelspace struct sigaction differ. Due to this
the SA_SIGINFO flag is never honored.
The appended patch fixes that and adds a reference to MAKE_THROW_FRAME to
the MD_FALLBACK_FRAME_STATE_FOR documentation. I also took the opportunity
to cleanup, reorder and indent the #if/#elif/#endif maze in
dwarf2-signal.h, as discussed on IRC.
In a followup patch I will add a MAKE_THROW_FRAME for ppc-linux and fix
MD_FALLBACK_FRAME_STATE_FOR in rs6000/linux.h accordingly.
Bootstrapped and regtested on i686-linux.
OK to commit to mainline and 3.3?
Franz.
Attachment:
gcc-libjava-2.patch
Description: Binary data