[PowerPC] Make test case buildable with GNU as
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 5 Jul 2013 12:33:03 +0000 (12:33 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 5 Jul 2013 12:33:03 +0000 (12:33 +0000)
commit3d4427347e5d540d22bd135535282761efb6bd6e
tree0ec973c5f041c74f2a255a51c43f7355c03233a5
parent23a72c8f7e46618ff8dbdbba4e8c1a2c4e44e3df
[PowerPC] Make test case buildable with GNU as

The ppc64-fixups.s test currently fails to build with GNU as, since it
does not support plain symbols as arguments to li/lis.  Rewrite the test
for R_PPC64_ADDR16 and R_PPC64_REL16 to use lwz instead.

Allowing the test case to be built with both LLVM and GNU as makes it
easier to spot unwanted difference in the output.

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