Sort relocation entries before they are written out to a file. MIPS ABI
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 28 Mar 2012 00:23:33 +0000 (00:23 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 28 Mar 2012 00:23:33 +0000 (00:23 +0000)
commit37ac18ef2f13a8060b745e6d3c4622bafdd4f47b
treecd8c68ced04f96437cf86ec264021c429d27ef30
parentf93b86306683f8e860c8824efb717995cb072a70
Sort relocation entries before they are written out to a file. MIPS ABI
imposes a constraint that GOT16 referring to a local symbol or HI16 has to be
followed immediately by a matching LO16 relocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153553 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp