OSDN Git Service

Cleanup relocation sorting for ELF.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 May 2013 18:22:01 +0000 (18:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 May 2013 18:22:01 +0000 (18:22 +0000)
commit4ef61f2ad4ff509ee05c7051d359009511f81226
treee6c816c11259d210dbe2c5518f3c4d217d1d5a59
parent9d86f9cc3ab4db75b388c2761bf3dd205f84a6d8
Cleanup relocation sorting for ELF.

We want the order to be deterministic on all platforms. NAKAMURA Takumi
fixed that in r181864. This patch is just two small cleanups:

* Move the function to the cpp file. It is only passed to array_pod_sort.
* Remove the ppc implementation which is now redundant

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181910 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCELFObjectWriter.h
lib/MC/MCELFObjectTargetWriter.cpp
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp