瀏覽代碼

[efi] Accept (and ignore) R_ARM_V4BX relocations

Relocation type R_ARM_V4BX requires no computation.  It marks the
location of an ARMv4 branch exchange instruction.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Heinrich Schuchardt 7 年之前
父節點
當前提交
c4ce92599d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/util/elf2efi.c

+ 1
- 0
src/util/elf2efi.c 查看文件

@@ -630,6 +630,7 @@ static void process_reloc ( struct elf_file *elf, const Elf_Shdr *shdr,
630 630
 		case ELF_MREL ( EM_ARM, R_ARM_CALL ) :
631 631
 		case ELF_MREL ( EM_ARM, R_ARM_THM_PC22 ) :
632 632
 		case ELF_MREL ( EM_ARM, R_ARM_THM_JUMP24 ) :
633
+		case ELF_MREL ( EM_ARM, R_ARM_V4BX ):
633 634
 		case ELF_MREL ( EM_X86_64, R_X86_64_PC32 ) :
634 635
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
635 636
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_JUMP26 ) :

Loading…
取消
儲存