* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
[deliverable/binutils-gdb.git] / include / elf / common.h
index f8b0832e86762f2448b87b02a3f6f3ea49df781f..f14f7bb679c03fe33b49b540f617d1891e33fca7 100644 (file)
@@ -254,6 +254,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define PT_NOTE                4               /* Auxiliary information */
 #define PT_SHLIB       5               /* Reserved, unspecified semantics */
 #define PT_PHDR                6               /* Entry for header table itself */
+#define PT_TLS         7               /* Thread local storage segment */
 #define PT_LOOS         0x60000000     /* OS-specific */
 #define PT_HIOS         0x6fffffff     /* OS-specific */
 #define PT_LOPROC      0x70000000      /* Processor-specific */
@@ -322,6 +323,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define SHF_LINK_ORDER  (1 << 7)       /* Preserve section ordering when linking */
 #define SHF_OS_NONCONFORMING (1 << 8)  /* OS specific processing required */
 #define SHF_GROUP      (1 << 9)        /* Member of a section group */
+#define SHF_TLS                (1 << 10)       /* Thread local storage section */
 
 /* #define SHF_MASKOS  0x0F000000    *//* OS-specific semantics */
 #define SHF_MASKOS     0x0FF00000      /* New value, Oct 4, 1999 Draft */
@@ -417,6 +419,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define STT_SECTION    3               /* Symbol associated with a section */
 #define STT_FILE       4               /* Symbol gives a file name */
 #define STT_COMMON     5               /* An uninitialised common block */
+#define STT_TLS                6               /* Thread local data object */
 #define STT_LOOS        10             /* OS-specific semantics */
 #define STT_HIOS        12             /* OS-specific semantics */
 #define STT_LOPROC     13              /* Application-specific semantics */
@@ -585,6 +588,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define DF_SYMBOLIC    (1 << 1)
 #define DF_TEXTREL     (1 << 2)
 #define DF_BIND_NOW    (1 << 3)
+#define DF_STATIC_TLS  (1 << 4)
 
 /* These constants are used for the version number of a Elf32_Verdef
    structure.  */
This page took 0.025221 seconds and 4 git commands to generate.