summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-02-18 09:11:36 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-02-18 09:11:36 +0000
commit7bdd7c2346ff53c68a8748893170134826f23012 (patch)
treedfa9bc931679bcc8721b2f80a754dc4a6a22428a /llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
parenta250484c4c7a7b1c88b5383fc922f64a7f70e40e (diff)
downloadbcm5719-llvm-7bdd7c2346ff53c68a8748893170134826f23012.tar.gz
bcm5719-llvm-7bdd7c2346ff53c68a8748893170134826f23012.zip
[SystemZ] Support all TLS access models - MC part
The current SystemZ back-end only supports the local-exec TLS access model. This patch adds all required MC support for the other TLS models, which means in particular: - Support additional relocation types for Initial-exec model: R_390_TLS_IEENT Local-dynamic-model: R_390_TLS_LDO32, R_390_TLS_LDO64, R_390_TLS_LDM32, R_390_TLS_LDM64, R_390_TLS_LDCALL General-dynamic model: R_390_TLS_GD32, R_390_TLS_GD64, R_390_TLS_GDCALL - Support assembler syntax to generate additional relocations for use with __tls_get_offset calls: :tls_gdcall: :tls_ldcall: The patch also adds a new test to verify fixups and relocations, and removes the (already unused) FK_390_PLT16DBL/FK_390_PLT32DBL fixup kinds. llvm-svn: 229652
Diffstat (limited to 'llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h')
-rw-r--r--llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
index 753903cf06d..732e5fa8350 100644
--- a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
+++ b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h
@@ -56,6 +56,7 @@ private:
void printS32ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
void printU32ImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
void printPCRelOperand(const MCInst *MI, int OpNum, raw_ostream &O);
+ void printPCRelTLSOperand(const MCInst *MI, int OpNum, raw_ostream &O);
void printAccessRegOperand(const MCInst *MI, int OpNum, raw_ostream &O);
// Print the mnemonic for a condition-code mask ("ne", "lh", etc.)
OpenPOWER on IntegriCloud