llvm.org GIT mirror llvm / db3cc56
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 Ulrich Weigand 7 years ago
3 changed file(s) with 0 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
9393 virtual const MCSymbol *undefinedExplicitRelSym(const MCValue &Target,
9494 const MCFixup &Fixup,
9595 bool IsPCRel) const;
96 virtual void adjustFixupOffset(const MCFixup &Fixup,
97 uint64_t &RelocOffset);
9896
9997 virtual void sortRelocs(const MCAssembler &Asm,
10098 std::vector &Relocs);
758758 uint64_t RelocOffset = Layout.getFragmentOffset(Fragment) +
759759 Fixup.getOffset();
760760
761 // FIXME: no tests cover this. Is adjustFixupOffset dead code?
762 TargetObjectWriter->adjustFixupOffset(Fixup, RelocOffset);
763
764761 if (!hasRelocationAddend())
765762 Addend = 0;
766763
3838 return &Symbol.AliasedSymbol();
3939 }
4040
41 void MCELFObjectTargetWriter::adjustFixupOffset(const MCFixup &Fixup,
42 uint64_t &RelocOffset) {
43 }
44
4541 void
4642 MCELFObjectTargetWriter::sortRelocs(const MCAssembler &Asm,
4743 std::vector &Relocs) {