Skip to content

Commit 3fe4b54

Browse files
committed
[ELF] Make getImplicitAddend return 0 for R_ARM_V4BX. NFC
Will be useful if we move R_ARM_V4BX handling around.
1 parent aa1d32f commit 3fe4b54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lld/ELF/Arch/ARM.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,7 @@ int64_t ARM::getImplicitAddend(const uint8_t *buf, RelType type) const {
841841
return u ? imm12 : -imm12;
842842
}
843843
case R_ARM_NONE:
844+
case R_ARM_V4BX:
844845
case R_ARM_JUMP_SLOT:
845846
// These relocations are defined as not having an implicit addend.
846847
return 0;

0 commit comments

Comments
 (0)