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 /libiberty/tmpnam.c | |
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 'libiberty/tmpnam.c')
0 files changed, 0 insertions, 0 deletions