[PowerPC] Support @toc@h modifier
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 21 Jun 2013 14:43:10 +0000 (14:43 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 21 Jun 2013 14:43:10 +0000 (14:43 +0000)
commitf8f87dcfceadd1b842d130303a7091ad7d7d67d0
treeb985d9a01dc48c357cdf1dd94ed68c37e34b5df1
parentd2849572463da994c685b3bd7a60d5a7566c01e3
[PowerPC] Support @toc@h modifier

This adds the relocation type and other necessary infrastructure
to use the @toc@h modifier in the assembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184549 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCExpr.h
include/llvm/Object/ELF.h
include/llvm/Support/ELF.h
lib/MC/MCExpr.cpp
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
test/MC/PowerPC/ppc64-fixups.s