On Wed, Nov 07, 2007 at 08:48:53AM -0800, Curt Wohlgemuth wrote:
> Hi Andreas:
>
> > Curt Wohlgemuth <[EMAIL PROTECTED]> writes:
> >
> > > Attached is a simple patch that removes the pragma, if you think that it's
> > > not needed.
> > >
> >
> > 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 :-) .
Attached is a patch that does indeed get rid of the #ifdef, pragma, and
conditional.
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-07 11:01:51.045787070 -0800
@@ -348,11 +348,6 @@
char *buf, size_t buf_len, unw_word_t *offp,
void *arg)
{
-#ifndef _UNW_LOCAL_ONLY
-# pragma weak _Uelf64_get_proc_name
- if (!_Uelf64_get_proc_name)
- return -UNW_EINVAL;
-#endif
return _Uelf64_get_proc_name (as, getpid (), ip, buf, buf_len, offp);
}
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel