Avoid explicit relocation sorting most of the time.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 17 Dec 2015 16:22:06 +0000 (16:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 17 Dec 2015 16:22:06 +0000 (16:22 +0000)
commitcdfe790540ee29eb70df4b3f0f7238e9aa9c0713
tree5274d1fd258318b96a79aeaa621d2457565d7a29
parent7396da812025d816f4de146bb324387529f17fed
Avoid explicit relocation sorting most of the time.

These days relocations are created and stored in a deterministic way.
The order they are created is also suitable for the .o file, so we don't
need an explicit sort.

The last remaining exception is MIPS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255902 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
test/MC/ARM/eh-compact-pr0.s
test/MC/ARM/eh-compact-pr1.s
test/MC/ARM/eh-directive-handlerdata.s
test/MC/ARM/eh-directive-personalityindex.s
test/MC/ARM/eh-directive-text-section.s