summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-20 22:36:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-22 20:35:40 +0200
commit4c3023bc803012656cf45749960282351efc8020 (patch)
tree979feef511fde3dbe564e5362e89a2e8b793909e /include
parent51f9b66d2fee1c7c1088b548751ac64131220b6e (diff)
xtensa: add support for NPTL
Changes from: https://github.com/foss-xtensa/uClibc/commits/xtensa_nptl Author: Chris Zankel <chris@zankel.net> Author: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'include')
-rw-r--r--include/elf.h5
-rw-r--r--include/link.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h
index 1979209cd..fc6086489 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -3072,8 +3072,11 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_XTENSA_SLOT12_ALT 47
#define R_XTENSA_SLOT13_ALT 48
#define R_XTENSA_SLOT14_ALT 49
+#define R_XTENSA_TLSDESC_FN 50
+#define R_XTENSA_TLSDESC_ARG 51
+#define R_XTENSA_TLS_TPOFF 53
/* Keep this the last entry. */
-#define R_XTENSA_NUM 50
+#define R_XTENSA_NUM 54
/* C6X specific relocs */
#define R_C6000_NONE 0
diff --git a/include/link.h b/include/link.h
index 147b79384..67bc80062 100644
--- a/include/link.h
+++ b/include/link.h
@@ -132,6 +132,8 @@ struct link_map
size_t l_tls_modid;
/* Nonzero if _dl_init_static_tls should be called for this module */
unsigned int l_need_tls_init:1;
+ /* Address of TLS descriptor hash table. */
+ void *l_tlsdesc_table;
#endif
#endif
};