OSDN Git Service

Remove duplication of relocation names in lib/Object/ELFYAML.cpp
authorTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:09 +0000 (20:16 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 21 Nov 2014 20:16:09 +0000 (20:16 +0000)
commit7a3eed6d22b235433aa7e69919c5333cf2a60c5d
tree6c4c120d6aa16221a6ea7f623aef6599da50bbff
parent0ce0e2c149abbb88c44bd618b144e88e5a7f2fb3
Remove duplication of relocation names in lib/Object/ELFYAML.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@222567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ELFYAML.cpp