Hi Andreas:

> Curt Wohlgemuth <[EMAIL PROTECTED]> writes:
> 
> > Attached is a simple patch that removes the pragma, if you think that it's
> > not needed.
> >
> > Thanks,
> > Curt
> > diff -Naur old/src/ia64/Ginit.c new/src/ia64/Ginit.c
> > --- old/src/ia64/Ginit.c    2007-10-05 13:53:09.000000000 -0700
> > +++ new/src/ia64/Ginit.c    2007-11-06 08:53:38.869979148 -0800
> > @@ -349,7 +349,6 @@
> >                   void *arg)
> >  {
> >  #ifndef _UNW_LOCAL_ONLY
> > -# pragma weak _Uelf64_get_proc_name
> >    if (!_Uelf64_get_proc_name)
> >      return -UNW_EINVAL;
> 
> By removing the pragma you effectively remove the whole conditional.

Well of course.  This is what happens when I put on my narrow focused
glasses :-) .

Thanks for pointing out the improvement,
Curt


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to