소스 검색

[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…
취소
저장