[PowerPC] Add some missing PPC64 relocs
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 8 May 2013 17:50:57 +0000 (17:50 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 8 May 2013 17:50:57 +0000 (17:50 +0000)
commitc37077af7bfdc22da2d267eee7905927dd5fdd17
treebb01cf1bc63e8a97be0e43ff7eacc436cd936e4d
parenta3967b6844f4be588c724ada3692e734bba65cf1
[PowerPC] Add some missing PPC64 relocs

All R_PPC_... relocs should also be present (using the same number)
under the corresponding R_PPC64_... name.   The latter were missing
for a couple of cases, which this patch adds.

This is not a big problem when emitting the reloc, because we can
just use the R_PPC_... define instead.  But it is a problem when
*dumping* relocations e.g. using llvm-readobj, because this will
expect only R_PPC64_... values when inspecting a ppc64 ELF file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181451 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
include/llvm/Support/ELF.h