From b5c37946cce4b41af0436529b139fa3d23e61f73 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 2 Aug 2023 12:06:23 +0100 Subject: Revert "2.41 Release sources" This reverts commit 675b9d612cc59446e84e2c6d89b45500cb603a8d. See https://sourceware.org/pipermail/binutils/2023-August/128761.html. --- bfd/elf64-bpf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/elf64-bpf.c') diff --git a/bfd/elf64-bpf.c b/bfd/elf64-bpf.c index 65418d1..aefad7d 100644 --- a/bfd/elf64-bpf.c +++ b/bfd/elf64-bpf.c @@ -88,7 +88,10 @@ bpf_reloc_type_lookup (bfd * abfd ATTRIBUTE_UNUSED, case BFD_RELOC_BPF_64: return &bpf_elf_howto_table[ (int) R_BPF_64_64_IDX]; case BFD_RELOC_BPF_DISP32: + case BFD_RELOC_BPF_DISPCALL32: return &bpf_elf_howto_table[ (int) R_BPF_64_32_IDX]; + case BFD_RELOC_BPF_DISP16: + return &bpf_elf_howto_table[ (int) R_BPF_GNU_64_16_IDX]; default: /* Pacify gcc -Wall. */ -- cgit v1.1