[PowerPC] Add support for high and higha symbol modifiers on tls modifers.
authorSean Fertile <sfertile@ca.ibm.com>
Fri, 15 Jun 2018 19:47:16 +0000 (19:47 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Fri, 15 Jun 2018 19:47:16 +0000 (19:47 +0000)
commitcac28aeb3fe14c7c4afd723a544086aa7237001d
treee7f1fbb958798a83a15a3219b616df59fe091462
parent80b8f82f179a31f7fbc0f3076ebb681fdda3e504
[PowerPC] Add support for high and higha symbol modifiers on tls modifers.

Enables using the high and high-adjusted symbol modifiers on thread local
storage modifers in powerpc assembly. Needed to be able to support 64 bit
thread-pointer and dynamic-thread-pointer access sequences.

Differential Revision: https://reviews.llvm.org/D47754

llvm-svn: 334856
llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
llvm/include/llvm/MC/MCExpr.h
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCExpr.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
llvm/test/MC/PowerPC/ppc64-fixups.s
llvm/test/MC/PowerPC/tls-ld-v2-abi.s [new file with mode: 0644]
llvm/test/MC/PowerPC/tls-le-v2-abi.s [new file with mode: 0644]