Remove duplication of relocation names in lib/Object/ELF.cpp
authorTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:07 +0000 (20:16 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:07 +0000 (20:16 +0000)
commit0ce0e2c149abbb88c44bd618b144e88e5a7f2fb3
tree96c3fc78362c4893be18277afb54d95cc15406d4
parent9d5d711f65cab2421b0351787aa3c3f29f646298
Remove duplication of relocation names in lib/Object/ELF.cpp

We can now use the ELF relocation .def files to create the mapping
of relocation numbers to names and avoid having to duplicate the
list of relocations.

Patch by Will Newton.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ELF.cpp