aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-07-02 07:27:41 +0000
committerTristan Gingold <gingold@adacore.com>2013-07-02 07:27:41 +0000
commite24355b1ea6fa56af886e8c6fd4dc151fc335c48 (patch)
tree32eb53cdb724c83fc7c580ca21b38e9f20b38e9a
parent5073668c61818d54189e08ca0cfa690558751870 (diff)
downloadnewlib-e24355b1ea6fa56af886e8c6fd4dc151fc335c48.zip
newlib-e24355b1ea6fa56af886e8c6fd4dc151fc335c48.tar.gz
newlib-e24355b1ea6fa56af886e8c6fd4dc151fc335c48.tar.bz2
2013-07-02 Tristan Gingold <gingold@adacore.com>
* internal.h (C_STTLS, C_GTLS): Define. * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
-rw-r--r--include/coff/ChangeLog5
-rw-r--r--include/coff/internal.h2
-rw-r--r--include/coff/xcoff.h4
3 files changed, 11 insertions, 0 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 3311d4e..f10aa34 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-02 Tristan Gingold <gingold@adacore.com>
+
+ * internal.h (C_STTLS, C_GTLS): Define.
+ * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define.
+
2013-02-04 Alan Modra <amodra@gmail.com>
* ti.h (SWAP_OUT_RELOC_EXTRA): Define.
diff --git a/include/coff/internal.h b/include/coff/internal.h
index f52bfbb..8b84324 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -343,6 +343,8 @@ struct internal_aouthdr
#define C_FUN (0x8e)
#define C_BSTAT (0x8f)
#define C_ESTAT (0x90)
+#define C_GTLS (0x97)
+#define C_STTLS (0x98)
/* Storage classes for Thumb symbols */
#define C_THUMBEXT (128 + C_EXT) /* 130 */
diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h
index 31b5071..67502cd 100644
--- a/include/coff/xcoff.h
+++ b/include/coff/xcoff.h
@@ -171,6 +171,10 @@
#define XMC_TD 16 /* Read-write data in TOC */
#define XMC_SV64 17 /* Read-only 64 bit supervisor call */
#define XMC_SV3264 18 /* Read-only 32 or 64 bit supervisor call */
+/* 19 ??? */
+#define XMC_TL 20 /* Read-write initialized TLS data */
+#define XMC_TU 21 /* Read-write uninitialized TLS data */
+#define XMC_TE 22 /* Same as XMC_TC but mapped after it */
/* The ldhdr structure. This appears at the start of the .loader
section. */