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

Richard Henderson rth@redhat.com
Tue Jul 10 15:55:00 GMT 2001


On Tue, Jul 10, 2001 at 03:33:26PM -0700, H . J . Lu wrote:
> We need a way to check if the run time libgcc_s is compatible. One
> way to do is to add a function like, _Unwind_GetVersion. Then we can
> put a check in crtstuff.c like
> 
>   if (_Unwind_GetVersion () < THE_EARLIEST_COMPATIBLE_VERRSION)
>     abort ();

Putting this check in crtstuff only helps if *everything* you're
linking together came from *that* version of gcc.  If you bring
in code from .a files, that's not necessarily true.


r~



More information about the Libc-alpha mailing list