aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-28 16:45:34 +0930
committerAlan Modra <amodra@gmail.com>2015-06-06 00:10:15 +0930
commit7860336b6c64b3b54b654f8b7894b568cfd82d2b (patch)
treeafe90030efe8e6f23406be0ee51efe3a906a263c /gdb
parent99381983ab1b423b93bfa3f6fbe7115079717255 (diff)
downloadgdb-7860336b6c64b3b54b654f8b7894b568cfd82d2b.zip
gdb-7860336b6c64b3b54b654f8b7894b568cfd82d2b.tar.gz
gdb-7860336b6c64b3b54b654f8b7894b568cfd82d2b.tar.bz2
Tidy PowerPC gold find_global_entry uses
Completely removing the assert probably wasn't the best idea, so reinstate it for allocated sections. Also cope with debug info potentially referring to a missing plt call stub. And a tidy. find_global_entry now returns an Address, so make temps holding the return value of type Address, and compare against invalid_address. * powerpc.cc (Target_powerpc::do_dynsym_value): Use Address rather than unsigned int for find_global_entry result temp. Compare against invalid_address. (Target_powerpc::do_plt_address_for_global): Likewise. (Target_powerpc::Relocate::relocate): Likewise. Don't assert on plt call stub existence for debug info. Do assert for plt and global entry stub existence if an alloc section.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions