diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2019-08-07 11:33:13 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2019-08-07 13:57:30 +0200 |
commit | fc8de8e227e5146336d654f2fb4f98010d7cf12d (patch) | |
tree | 898b2d933b509006b8fee2ff5580751ff1574428 /ld | |
parent | 97b031c5d6d42ff2b1758a8a8c332cb44ba9c06f (diff) | |
download | gdb-fc8de8e227e5146336d654f2fb4f98010d7cf12d.zip gdb-fc8de8e227e5146336d654f2fb4f98010d7cf12d.tar.gz gdb-fc8de8e227e5146336d654f2fb4f98010d7cf12d.tar.bz2 |
bfd: use the ELF linker to perform relocations in BPF targets
This patch changes the eBPF linker to provide a relocate_section
function instead of relying on using special functions in relocation
howtos.
Tested in x86_64 host.
No regressions.
bfd/ChangeLog:
2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
* elf64-bpf.c (bpf_elf_relocate_section): New function.
(bpf_elf_insn_disp_reloc): Delete function.
(elf_backend_relocate_section): Define.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions