mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1436 * readelf.c (ABSADDR): New. (dump_ia64_unwind): Use ABSADDR to get the unwind info address.
This commit is contained in:
parent
fa4ec3f59f
commit
1949de15f0
@ -1,3 +1,9 @@
|
||||
2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/1436
|
||||
* readelf.c (ABSADDR): New.
|
||||
(dump_ia64_unwind): Use ABSADDR to get the unwind info address.
|
||||
|
||||
2005-10-10 Thomas Weidenmueller <w3seek@reactos.com>
|
||||
|
||||
* resbin.c (res_to_bin_accelerator): Place the terminating NUL at
|
||||
|
@ -4580,6 +4580,11 @@ struct absaddr
|
||||
bfd_vma offset;
|
||||
};
|
||||
|
||||
#define ABSADDR(a) \
|
||||
((a).section \
|
||||
? section_headers [(a).section].sh_addr + (a).offset \
|
||||
: (a).offset)
|
||||
|
||||
struct ia64_unw_aux_info
|
||||
{
|
||||
struct ia64_unw_table_entry
|
||||
@ -4672,7 +4677,7 @@ dump_ia64_unwind (struct ia64_unw_aux_info *aux)
|
||||
printf ("], info at +0x%lx\n",
|
||||
(unsigned long) (tp->info.offset - aux->seg_base));
|
||||
|
||||
head = aux->info + (tp->info.offset - aux->info_addr);
|
||||
head = aux->info + (ABSADDR (tp->info) - aux->info_addr);
|
||||
stamp = byte_get ((unsigned char *) head, sizeof (stamp));
|
||||
|
||||
printf (" v%u, flags=0x%lx (%s%s), len=%lu bytes\n",
|
||||
|
Loading…
Reference in New Issue
Block a user