This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]