[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Local unwind problem on ia64
From: |
Andreas Schwab |
Subject: |
Re: [Libunwind-devel] Local unwind problem on ia64 |
Date: |
Wed, 07 Nov 2007 02:21:40 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Curt Wohlgemuth <address@hidden> 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, address@hidden
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."