PATCH: Share the dwarf2 unwind code between glibc and gcc 3.0
Mark Kettenis
kettenis@wins.uva.nl
Mon Jul 9 15:25:00 GMT 2001
Date: Mon, 9 Jul 2001 12:56:54 -0700
From: "H . J . Lu" <hjl@lucon.org>
On Mon, Jul 09, 2001 at 04:06:18PM +0200, Mark Kettenis wrote:
>
> Changing the code such that it does find the GCC 2.x exception handler
> info is almost trivial. I implemented it, and it works fine with GCC
> 2.95.2. I already posted my code once. Attached is a slightly
> improved version. The difference between this code and the origional
> code from gcc-3_0-branch are an additional member of `struct
> _Unwind_Context' and a bit of code to fetch the GCC 2.x exception
> handler info in extract_cie_info(). The missing headers can be taken
> verbatim from the GCC 3.x sources. Of course integrating this into
> glibc would still involve a bit of work, but I'm not going to invest
> my time in it while HJ is still pushing his patch.
>
Do you have a patch for gcc? I can run several testcases on it.
Why would I need a patch for GCC?
Mark
More information about the Libc-alpha
mailing list