summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-27 13:30:10 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-27 13:30:10 +0000
commit24dfead40d71fa47beecd9ea8852925b7cd67144 (patch)
treeb7ac095e3e844e739365675e99f4e724059e2a38 /gcc/flags.h
parentf712a0dcd3010d64361b11d5f7b7d71700f69aab (diff)
downloadgcc-24dfead40d71fa47beecd9ea8852925b7cd67144.tar.gz
* doc/extend.texi (tls_model): Document.
* varasm.c (decl_tls_model): New. * c-common.c (handle_tls_model_attribute): New. (c_common_attribute_table): Add tls_model. * config/alpha/alpha.c (alpha_encode_section_info): Use decl_tls_model. * flags.h (enum tls_model, flag_tls_default): Move... * tree.h (enum tls_model, flag_tls_default): ...here. (decl_tls_model): New prototype. * config/ia64/ia64.c (ia64_encode_section_info): Likewise. * config/i386/i386.c (ix86_encode_section_info): Likewise. * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base): Allow !flag_pic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57588 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index f033887e02c..1578a2499cd 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -467,17 +467,6 @@ extern int flag_pedantic_errors;
extern int flag_pic;
-/* Set to the default thread-local storage (tls) model to use. */
-
-enum tls_model {
- TLS_MODEL_GLOBAL_DYNAMIC = 1,
- TLS_MODEL_LOCAL_DYNAMIC,
- TLS_MODEL_INITIAL_EXEC,
- TLS_MODEL_LOCAL_EXEC
-};
-
-extern enum tls_model flag_tls_default;
-
/* Nonzero means generate extra code for exception handling and enable
exception handling. */