diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-17 15:08:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-17 15:08:24 +0000 |
commit | d0e16522c7b7cd09a656976206a0b02da8955182 (patch) | |
tree | 480e837758d4f346e51080d7a7baa02a655214ad /llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp | |
parent | 8561841875686e6fd165474db3ecb6965f535a6d (diff) | |
download | bcm5719-llvm-d0e16522c7b7cd09a656976206a0b02da8955182.tar.gz bcm5719-llvm-d0e16522c7b7cd09a656976206a0b02da8955182.zip |
Always sort by offset first. NFC.
Every target changing sortRelocs was first calling the parent
implementation. Just run that first.
llvm-svn: 255898
Diffstat (limited to 'llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp index 76a00fccbef..2f19127d686 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp @@ -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, |