[PATCH] Support backtrace () on IA-64, make it work even with -fomit-frame-pointer on AMD64
Andreas Schwab
schwab@suse.de
Fri Oct 10 08:33:00 GMT 2003
Jakub Jelinek <jakub@redhat.com> writes:
> On Thu, Oct 09, 2003 at 04:04:42PM +0200, Andreas Schwab wrote:
>> Jakub Jelinek <jakub@redhat.com> writes:
>>
>> > On Thu, Oct 09, 2003 at 02:47:53PM +0200, Andreas Schwab wrote:
>> >> Jakub Jelinek <jakub@redhat.com> writes:
>> >>
>> >> > Sorry, I only compiled it outside of glibc and there it worked.
>> >> > Here is a better patch (built on amd64, passed make check, checked output
>> >> > of a few sample proglets):
>> >>
>> >> Doesn't seem to work on ia64, though.
>> >
>> > Works for me just fine (gcc-3_3-rhl-branch libgcc_s.so.1),
>> > with various CFLAGS used for backtrace-tst (-O2, -O0, with or without
>> > -Wl,--export-dynamic, etc.).
>> > What kind of libgcc you're using?
>>
>> Just the one that comes with gcc 3.3.1.
>
> Diffing gcc-3_3{,-rhl}-branch, I think just
> 2003-05-16 Jakub Jelinek <jakub@redhat.com>
>
> * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
> .save XX, r0.
> might be the difference which matters.
Thanks, that did it.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-hacker
mailing list