[ELF] Make getImplicitAddend return 0 for R_ARM_V4BX. NFC

Will be useful if we move R_ARM_V4BX handling around.
This commit is contained in:
Fangrui Song 2021-10-30 23:31:38 -07:00
parent aa1d32f519
commit 3fe4b54915
1 changed files with 1 additions and 0 deletions

View File

@ -841,6 +841,7 @@ int64_t ARM::getImplicitAddend(const uint8_t *buf, RelType type) const {
return u ? imm12 : -imm12; return u ? imm12 : -imm12;
} }
case R_ARM_NONE: case R_ARM_NONE:
case R_ARM_V4BX:
case R_ARM_JUMP_SLOT: case R_ARM_JUMP_SLOT:
// These relocations are defined as not having an implicit addend. // These relocations are defined as not having an implicit addend.
return 0; return 0;