]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf64-bpf.c
bpf: add support for jal/gotol jump instruction with 32-bit target
[thirdparty/binutils-gdb.git] / bfd / elf64-bpf.c
index 23ede4e5d96be5f0daac821986a20051ea92012b..aefad7da5ac0708797f7a0d55a88199eb719e984 100644 (file)
@@ -88,6 +88,7 @@ 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];