Browse Source

[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 years ago
parent
commit
c4ce92599d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/util/elf2efi.c

+ 1
- 0
src/util/elf2efi.c View File

630
 		case ELF_MREL ( EM_ARM, R_ARM_CALL ) :
630
 		case ELF_MREL ( EM_ARM, R_ARM_CALL ) :
631
 		case ELF_MREL ( EM_ARM, R_ARM_THM_PC22 ) :
631
 		case ELF_MREL ( EM_ARM, R_ARM_THM_PC22 ) :
632
 		case ELF_MREL ( EM_ARM, R_ARM_THM_JUMP24 ) :
632
 		case ELF_MREL ( EM_ARM, R_ARM_THM_JUMP24 ) :
633
+		case ELF_MREL ( EM_ARM, R_ARM_V4BX ):
633
 		case ELF_MREL ( EM_X86_64, R_X86_64_PC32 ) :
634
 		case ELF_MREL ( EM_X86_64, R_X86_64_PC32 ) :
634
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
635
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
635
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_JUMP26 ) :
636
 		case ELF_MREL ( EM_AARCH64, R_AARCH64_JUMP26 ) :

Loading…
Cancel
Save