]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
HPPA64 .PARISC.unwind entries
authorAlan Modra <amodra@gmail.com>
Wed, 10 Oct 2018 02:44:56 +0000 (13:14 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 10 Oct 2018 03:02:18 +0000 (13:32 +1030)
commit43f6cd0588a735c202934789d67b6ed4302f255d
tree386ca521a6a43d1170890db41881f756fc9a1752
parent8ab159a96565be6e60f8d88ba3a4638116f7e9d3
HPPA64 .PARISC.unwind entries

.PARISC.unwind has 32-bit addresses in both 32-bit ELF and 64-bit ELF.
Well, strictly speaking, the 32-bit "start" and "end" fields are
segment relative offsets.  (The 64-bit ABI says so, while the 32-bit
ABI says they are addresses but it appears they are segment relative
offsets in practice.  Likely the 32-bit ABI lacks an update.)

* readelf.c (hppa_process_unwind): Don't use eh_addr_size to
calculate number of entries.
(slurp_hppa_unwind_table): Don't use eh_addr_size here either.
binutils/ChangeLog
binutils/readelf.c