diff options
author | Alan Modra <amodra@gmail.com> | 2017-01-06 15:47:33 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-01-07 22:04:51 +1030 |
commit | 0e123f69da7567042903c8e6e2ad0b03b0a66e55 (patch) | |
tree | 9c3fb0c60ca11ff2c198a8faa520bb2e2bf338bb /gold/ChangeLog | |
parent | a6eb589ffec8e6a3ae83ad6e5f36af31e958ffec (diff) | |
download | gdb-0e123f69da7567042903c8e6e2ad0b03b0a66e55.zip gdb-0e123f69da7567042903c8e6e2ad0b03b0a66e55.tar.gz gdb-0e123f69da7567042903c8e6e2ad0b03b0a66e55.tar.bz2 |
[GOLD] powerpc.cc tidies
Plus some paranoia in symval_for_branch. We shouldn't get there with
dynamic symbols, but if we ever did the static_cast to Powerpc_relobj
would be wrong.
* powerpc.cc: Use shorter equivalent elfcpp typedef for
Reltype and reloc_size throughout.
(Target_powerpc::symval_for_branch): Exclude dynamic symbols.
(Target_powerpc::Scan::local): Use local var r_sym.
(Target_powerpc::Scan::global: Likewise.
(Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 6a61d61..b76fde7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,12 @@ +2017-01-07 Alan Modra <amodra@gmail.com> + + * powerpc.cc: Use shorter equivalent elfcpp typedef for + Reltype and reloc_size throughout. + (Target_powerpc::symval_for_branch): Exclude dynamic symbols. + (Target_powerpc::Scan::local): Use local var r_sym. + (Target_powerpc::Scan::global: Likewise. + (Target_powerpc::Relocate::relocate): Delete shadowing r_sym. + 2017-01-02 Alan Modra <amodra@gmail.com> Update year range in copyright notice of all files. |