diff options
author | Alan Modra <amodra@gmail.com> | 2019-06-26 22:08:54 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-07-13 09:57:50 +0930 |
commit | c9b8abb7af46c9da4b50ad8495ab2824c4125962 (patch) | |
tree | 94518846635db5adaf8ee371f2bc22e9f892e4fa /gdb/minidebug.c | |
parent | e4dff7651becba48d805e39655138f7f6ca30485 (diff) | |
download | gdb-c9b8abb7af46c9da4b50ad8495ab2824c4125962.zip gdb-c9b8abb7af46c9da4b50ad8495ab2824c4125962.tar.gz gdb-c9b8abb7af46c9da4b50ad8495ab2824c4125962.tar.bz2 |
[GOLD] PowerPC got reloc optimisation
Note that gold won't remove unused GOT entries, in contrast to ld.bfd
which will.
* powerpc.cc (Powerpc_relobj::make_got_relative): New function.
(relative_value_is_known): New functions.
(Target_powerpc::Relocate::relocate): Edit code using
GOT16_HA, GOT16_LO_DS, and GOT_PCREL34 relocs.
Diffstat (limited to 'gdb/minidebug.c')
0 files changed, 0 insertions, 0 deletions