[PowerPC] Add ELF relocation tests
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 8 May 2013 17:51:44 +0000 (17:51 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 8 May 2013 17:51:44 +0000 (17:51 +0000)
commit146f336272f442e8342ef9bbfa5f5937c4bb8d65
treeb2de8b981bb65235cff0fca80f38015315d8d56a
parentfd94f0ab358ea12cf2b17c9628207b3fd11d40b4
[PowerPC] Add ELF relocation tests

This patch extends test/MC/PowerPC/ppc64-fixups.s to not only check for
the correct fixup type in the --show-encoding output, but also runs the
generated object file through llvm-readobj -r and verifies that the
correct ELF relocation records were generated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181453 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/PowerPC/ppc64-fixups.s