This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: PATCH: Share the dwarf2 unwind code between glibc and gcc 3.0


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.

> There is one thing my patch doesn't do: fixing up the binary
> compatibility problem with the RedHat GCC 2.96.  HJ has a clever
> solution for the problem but it's a wee bit fragile.  If it really is
> a poblem, it can be fixed later.

I think we should leave the RedHat GCC 2.96 issue to Red Hat.


H.J.


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