From e24355b1ea6fa56af886e8c6fd4dc151fc335c48 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 2 Jul 2013 07:27:41 +0000 Subject: [PATCH] 2013-07-02 Tristan Gingold * internal.h (C_STTLS, C_GTLS): Define. * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define. --- include/coff/ChangeLog | 5 +++++ include/coff/internal.h | 2 ++ include/coff/xcoff.h | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 3311d4ead..f10aa3477 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,8 @@ +2013-07-02 Tristan Gingold + + * internal.h (C_STTLS, C_GTLS): Define. + * xcoff.h (XMC_TL, XMC_TU, XMC_TE): Define. + 2013-02-04 Alan Modra * ti.h (SWAP_OUT_RELOC_EXTRA): Define. diff --git a/include/coff/internal.h b/include/coff/internal.h index f52bfbb7b..8b843247e 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 31b5071e4..67502cda7 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. */