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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

Reply via email to