Always sort by offset first. NFC.
[oota-llvm.git] / lib / Target / SystemZ / MCTargetDesc / SystemZMCObjectWriter.cpp
index 76a00fccbef0ff462f6fc5786d827d4e0c6f3f78..2f19127d6869d272499d191cb9e20684fa5295c2 100644 (file)
@@ -156,9 +156,6 @@ unsigned SystemZObjectWriter::GetRelocType(const MCValue &Target,
 
 void SystemZObjectWriter::sortRelocs(const MCAssembler &Asm,
                                      std::vector<ELFRelocationEntry> &Relocs) {
-  // The default function sorts entries by Offset in descending order.
-  MCELFObjectTargetWriter::sortRelocs(Asm, Relocs);
-
   // This is OK for SystemZ, except for R_390_TLS_GDCALL/LDCALL relocs.
   // There is typically another reloc, a R_390_PLT32DBL, on the same
   // instruction.  This other reloc must come *before* the GDCALL reloc,