This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: hppa unwind entries
- From: Nick Clifton <nickc at redhat dot com>
- To: Nick Hudson <nick dot hudson at dsl dot pipex dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 28 Dec 2007 14:47:04 +0000
- Subject: Re: hppa unwind entries
- References: <200712121318.21023.nick.hudson@dsl.pipex.com>
Hi Nick,
It seems to me that the calculation of text_segment_base and data_segment_base
are incorrect and here's a patch that address the problem by using the method
ia64 SEGREL stuff is done.
Is this right? Is there a simpler way?
It is correct and no there is isn't a simpler way.
I have applied your patch (thanks for creating it by the way) along with this
ChangeLog entry.
Cheers
Nick
bfd/ChangeLog
2007-12-28 Nick Hudson <nick.hudson@dsl.pipex.com>
* elf32-hppa.c (hppa_record_segment_addr): Locate the segment
containing the section using the segment map, rather than guessing
based upon the section's vma and file position.