diff options
author | Alan Modra <amodra@gmail.com> | 2015-04-28 16:45:34 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-06-06 00:10:15 +0930 |
commit | 7860336b6c64b3b54b654f8b7894b568cfd82d2b (patch) | |
tree | afe90030efe8e6f23406be0ee51efe3a906a263c /gdb | |
parent | 99381983ab1b423b93bfa3f6fbe7115079717255 (diff) | |
download | gdb-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