aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-28 16:45:34 +0930
committerAlan Modra <amodra@gmail.com>2015-04-28 16:55:38 +0930
commitfaa2211d4d3dad3f381164cdb29d27b9108760ea (patch)
treed82fe14303d3a9352ef301d1374fb53dd10b8ac0 /gold/ChangeLog
parent6ec65f28db6b718b505e2ee5c34a274ba07397ae (diff)
downloadgdb-faa2211d4d3dad3f381164cdb29d27b9108760ea.zip
gdb-faa2211d4d3dad3f381164cdb29d27b9108760ea.tar.gz
gdb-faa2211d4d3dad3f381164cdb29d27b9108760ea.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 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 3f03b6b..ff9fa2a 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,15 @@
2015-04-28 Alan Modra <amodra@gmail.com>
+ * 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.
+
+2015-04-28 Alan Modra <amodra@gmail.com>
+
* powerpc.cc (Target_powerpc::Relocate::relocate): Don't assert
on missing global entry stub due to bogus debug info.