This is the mail archive of the gcc@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]

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


On Tue, Jul 10, 2001 at 06:25:45PM -0400, Jakub Jelinek wrote:
> On Tue, Jul 10, 2001 at 03:17:37PM -0700, Richard Henderson wrote:
> > On Tue, Jul 10, 2001 at 08:10:25AM -0400, Jakub Jelinek wrote:
> > > But the idea of just moving the registration root does not seem that bad to
> > > me.
> > 
> > Why in the world would you want to do this?
> 
> If _Unwind_Find_FDE internals don't have to change (at least not in the
> close future), then it is not needed and exporting _Unwind_Find_FDE from
> glibc looks like a good thing.
> I was just not sure if GCC 3.1 or whatever would not like to add new types
> of augmentations which would _Unwind_Find_FDE need to understand.

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 ();


H.J.


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