forked from OSchip/llvm-project
[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:
parent
aa1d32f519
commit
3fe4b54915
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue