diff options
author | Alan Modra <amodra@gmail.com> | 2021-12-11 14:52:36 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-12-11 14:52:36 +1030 |
commit | eb97d02405c08bd0c006c8d65b3649fbfb1148e0 (patch) | |
tree | 8c220c1f9db2fbb509d2c126d6b662dbc5052c5d /ld/Makefile.am | |
parent | 40eb8b92a1c795cda00bf931ab9cdd74da434d54 (diff) | |
download | gdb-eb97d02405c08bd0c006c8d65b3649fbfb1148e0.zip gdb-eb97d02405c08bd0c006c8d65b3649fbfb1148e0.tar.gz gdb-eb97d02405c08bd0c006c8d65b3649fbfb1148e0.tar.bz2 |
[GOLD] PowerPC64 @notoc in non-power10 code
Gold version of commit 7aba54da42.
elfcpp/
* powerpc.h (R_PPC64_REL24_P9NOTOC): Define.
gold/
* powerpc.cc (Target_powerpc::maybe_skip_tls_get_addr_call,
is_branch_reloc, max_branch_delta): Handle R_PPC64_REL24_P9NOTOC.
(Target_powerpc::Branch_info::make_stub): Likewise.
(struct Plt_stub_ent): Add p9notoc_, p9off_, tsize_.
(struct Branch_stub_ent): Add p9notoc_, p9off_.
(Stub_table::add_plt_call_entry): Handle R_PPC64_REL24_P9NOTOC.
(Stub_table::add_long_branch_entry): Likewise.
(Stub_table::add_eh_frame): Likewise.
(Stub_table::plt_call_size): Return aligned size. Adjust callers.
Handle p9notoc_ sizing.
(Stub_table::do_write): Write out p9notoc_ stubs.
(Target_powerpc::Scan::get_reference_flags, local, global):
Handle R_PPC64_REL24_P9NOTOC.
(Target_powerpc::Relocate::relocate): Likewise.
Diffstat (limited to 'ld/Makefile.am')
0 files changed, 0 insertions, 0 deletions