diff options
author | Alan Modra <amodra@gmail.com> | 2018-08-29 22:31:25 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-08-31 22:15:05 +0930 |
commit | 3d58e1fcfbedad71be7e539dfa2045ab2768f013 (patch) | |
tree | 02576dd5d889cb91ae757a6c27822d36cecfc801 /gdb/target-delegates.c | |
parent | 4a9699735b04d4629bd3dc418c265e7f0bc1f9ce (diff) | |
download | gdb-3d58e1fcfbedad71be7e539dfa2045ab2768f013.zip gdb-3d58e1fcfbedad71be7e539dfa2045ab2768f013.tar.gz gdb-3d58e1fcfbedad71be7e539dfa2045ab2768f013.tar.bz2 |
PowerPC64 --emit-relocs support for notoc stubs
This patch uses the newly defined high-part REL16 relocs to emit
relocations on the notoc stubs as we already do for other stubs.
* elf64-ppc.c (num_relocs_for_offset): New function.
(emit_relocs_for_offset): New function.
(use_global_in_relocs): New function, split out from..
(ppc_build_one_stub): ..here. Output relocations for notoc stubs.
(ppc_size_one_stub): Calculate reloc count for notoc stubs.
(ppc64_elf_size_stubs): Don't count undefined syms in stub_globals.
Diffstat (limited to 'gdb/target-delegates.c')
0 files changed, 0 insertions, 0 deletions