diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-04-20 13:17:54 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-07-03 16:15:11 -0400 |
commit | 29a96c1980db9c6eee70e8935a9a4cb3a0ac954d (patch) | |
tree | c7c7907c1fc387373fd2ff7e103bdd6be00ab947 /include | |
parent | 347d0617d11c0ae4c5e501d4232d2b4a5cfc207a (diff) | |
download | musl-29a96c1980db9c6eee70e8935a9a4cb3a0ac954d.tar.gz musl-29a96c1980db9c6eee70e8935a9a4cb3a0ac954d.tar.bz2 musl-29a96c1980db9c6eee70e8935a9a4cb3a0ac954d.tar.xz musl-29a96c1980db9c6eee70e8935a9a4cb3a0ac954d.zip |
add powerpc tls optimization related definitions to elf.h
see
https://sourceware.org/ml/libc-alpha/2015-03/msg00580.html
Diffstat (limited to 'include')
-rw-r--r-- | include/elf.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h index 94f2cd9a..eefcbc11 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1928,7 +1928,8 @@ enum #define R_PPC_GOT_DTPREL16_LO 92 #define R_PPC_GOT_DTPREL16_HI 93 #define R_PPC_GOT_DTPREL16_HA 94 - +#define R_PPC_TLSGD 95 +#define R_PPC_TLSLD 96 #define R_PPC_EMB_NADDR32 101 @@ -1971,7 +1972,10 @@ enum #define DT_PPC_GOT (DT_LOPROC + 0) -#define DT_PPC_NUM 1 +#define DT_PPC_OPT (DT_LOPROC + 1) +#define DT_PPC_NUM 2 + +#define PPC_OPT_TLS 1 #define R_PPC64_NONE R_PPC_NONE |