diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-11-03 18:55:54 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-11-03 18:55:54 +0800 |
| commit | cf02f920c148a77794b05ba09d73586e5f0b3601 (patch) | |
| tree | d35e02afb9539566893e4e09cee83c9a4886ac2b /elf.h | |
| parent | 1c4afd13501f07a673aed5f130166f2ee0f30927 (diff) | |
| download | tinycc-cf02f920c148a77794b05ba09d73586e5f0b3601.tar.gz tinycc-cf02f920c148a77794b05ba09d73586e5f0b3601.tar.bz2 | |
Revert "Add support for thread-local storage variables"
TLS support in tinyCC is absolutely not ready:
- segment register not select in load and store
- no relocation added for computing offset of per-thread symbol
- no support for TLS-specific relocations
- no program header added as per Drepper document about TLS
This reverts commit 1c4afd13501f07a673aed5f130166f2ee0f30927.
Diffstat (limited to 'elf.h')
| -rw-r--r-- | elf.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -447,7 +447,6 @@ typedef struct #define STT_SECTION 3 /* Symbol associated with a section */ #define STT_FILE 4 /* Symbol's name is file name */ #define STT_NUM 5 /* Number of defined types. */ -#define STT_TLS 6 /* Symbol is a thread-local data object */ #define STT_GNU_IFUNC 10 /* Symbol is a indirect code object */ #define STT_LOOS 11 /* Start of OS-specific */ #define STT_HIOS 12 /* End of OS-specific */ @@ -556,8 +555,7 @@ typedef struct #define PT_NOTE 4 /* Auxiliary information */ #define PT_SHLIB 5 /* Reserved */ #define PT_PHDR 6 /* Entry for header table itself */ -#define PT_TLS 7 /* Thread-local program segment */ -#define PT_NUM 8 /* Number of defined types. */ +#define PT_NUM 7 /* Number of defined types. */ #define PT_LOOS 0x60000000 /* Start of OS-specific */ #define PT_HIOS 0x6fffffff /* End of OS-specific */ #define PT_LOPROC 0x70000000 /* Start of processor-specific */ |
