diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2012-11-13 19:24:36 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2012-11-13 19:24:36 +0000 |
commit | ba6086818d9c5070061f74ac9944666b4312c6f0 (patch) | |
tree | 2ff322554e4c79e603c6ae9134ebf1dfa5695f42 /include | |
parent | 8f887369cbab012e39c3fc80b00ea399509aa24e (diff) | |
download | external_llvm-ba6086818d9c5070061f74ac9944666b4312c6f0.zip external_llvm-ba6086818d9c5070061f74ac9944666b4312c6f0.tar.gz external_llvm-ba6086818d9c5070061f74ac9944666b4312c6f0.tar.bz2 |
Add (some) PowerPC TLS relocation types to ELF.h and
generate them from PPCELFObjectWriter::getRelocTypeInner
as appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ELF.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index b676e91..2cd2671 100644 --- a/include/llvm/Support/ELF.h +++ b/include/llvm/Support/ELF.h @@ -457,7 +457,9 @@ enum { R_PPC_REL14 = 11, R_PPC_REL14_BRTAKEN = 12, R_PPC_REL14_BRNTAKEN = 13, - R_PPC_REL32 = 26 + R_PPC_REL32 = 26, + R_PPC_TPREL16_LO = 70, + R_PPC_TPREL16_HA = 72 }; // ELF Relocation types for PPC64 |