Reviewed and approved by Nick Clifton <nickc@redhat.com>
2005-08-05 Fred Fish <fnf@specifix.com> * dwarf2.c (read_rangelist): Use addr_size instead of offset_size to determine how many bytes to read from each rangelist entry.
This commit is contained in:
parent
47837f8ec2
commit
a29b7e88f2
@ -1,3 +1,8 @@
|
||||
2005-08-05 Fred Fish <fnf@specifix.com>
|
||||
|
||||
* dwarf2.c (read_rangelist): Use addr_size instead of offset_size
|
||||
to determine how many bytes to read from each rangelist entry.
|
||||
|
||||
2005-08-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* bfd.c (bfd_hide_symbol): New.
|
||||
|
@ -1606,7 +1606,7 @@ read_rangelist (struct comp_unit *unit, struct arange *arange, bfd_uint64_t offs
|
||||
bfd_vma low_pc;
|
||||
bfd_vma high_pc;
|
||||
|
||||
if (unit->offset_size == 4)
|
||||
if (unit->addr_size == 4)
|
||||
{
|
||||
low_pc = read_4_bytes (unit->abfd, ranges_ptr);
|
||||
ranges_ptr += 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user