mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-17 03:07:06 +00:00
ARM .word data fixups don't need an adjustment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3bbb0cc42b
commit
a9a0dde872
@ -152,6 +152,7 @@ static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
|
||||
default:
|
||||
llvm_unreachable("Unknown fixup kind!");
|
||||
case FK_Data_4:
|
||||
return Value;
|
||||
case ARM::fixup_arm_pcrel_12:
|
||||
// ARM PC-relative values are offset by 8.
|
||||
return Value - 8;
|
||||
|
Loading…
Reference in New Issue
Block a user