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)
commit242785c03123384d50687638539d072efe118b20
treeb5b277d2604c7b9e27060ce02131811a4fdc7337
parentbcca432e4fe0e7aa8285f0ded839b121b09a83eb
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.

llvm-svn: 222566
llvm/lib/Object/ELF.cpp