diff options
author | Alan Modra <amodra@gmail.com> | 2017-06-21 10:10:00 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-06-21 22:45:15 +0930 |
commit | bdab445c82ba93bc9aaad1ae974a3cf5c4aa8a26 (patch) | |
tree | 7c523d1b80fae1cc62211ebb6f2e78c3f319260e /gold/ChangeLog | |
parent | 6e1816be66892d06e1a983f08407135fa7f7fc17 (diff) | |
download | gdb-bdab445c82ba93bc9aaad1ae974a3cf5c4aa8a26.zip gdb-bdab445c82ba93bc9aaad1ae974a3cf5c4aa8a26.tar.gz gdb-bdab445c82ba93bc9aaad1ae974a3cf5c4aa8a26.tar.bz2 |
[GOLD] PowerPC move plt indx_ out of unordered map key
I was lazy when adding indx_ to Plt_stub_ent. The field isn't part of
the key, so ought to be part of the mapped type. Make it so.
* powerpc.cc (Plt_stub_key): Rename from Plt_stub_ent. Remove indx_.
(Plt_stub_key_hash): Rename from Plt_stub_ent_hash.
(struct Plt_stub_ent): New.
(Plt_stub_entries): Map from Plt_stub_key to Plt_stub_ent. Adjust
use throughout file.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index d6bcff8..c6ebaa6 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,11 @@ +2017-06-21 Alan Modra <amodra@gmail.com> + + * powerpc.cc (Plt_stub_key): Rename from Plt_stub_ent. Remove indx_. + (Plt_stub_key_hash): Rename from Plt_stub_ent_hash. + (struct Plt_stub_ent): New. + (Plt_stub_entries): Map from Plt_stub_key to Plt_stub_ent. Adjust + use throughout file. + 2017-06-20 Eric Christopher <echristo@gmail.com> * aarch64.cc (scan_reloc_for_stub): Use plt_address_for_global to |