Skip to content
Commit 91fc201e authored by Tom Tromey's avatar Tom Tromey
Browse files

Remove call to dwarf2_per_objfile::adjust from ranges readers



dwarf2_per_objfile::adjust applies gdbarch_adjust_dwarf2_addr to an
address, leaving the result unrelocated.  However, this adjustment is
only needed for text-section symbols -- it isn't needed for any sort
of address mapping.  Therefore, these calls can be removed from
read_addrmap_from_aranges and create_addrmap_from_gdb_index.

Approved-By: default avatarAndrew Burgess <aburgess@redhat.com>

parent c7a1fe22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment