mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Remove MCELFObjectTargetWriter::adjustFixupOffset hack
Now that PowerPC no longer uses adjustFixupOffset, and no other back-end (ever?) did, we can remove the infrastructure itself (incidentally addressing a FIXME to that effect). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -759,9 +759,6 @@ void ELFObjectWriter::RecordRelocation(const MCAssembler &Asm,
|
||||
uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) +
|
||||
Fixup.getOffset();
|
||||
|
||||
// FIXME: no tests cover this. Is adjustFixupOffset dead code?
|
||||
TargetObjectWriter->adjustFixupOffset(Fixup, RelocOffset);
|
||||
|
||||
if (!hasRelocationAddend())
|
||||
Addend = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user