aboutsummaryrefslogtreecommitdiffstats
path: root/common/Sections.mli
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-02-24 18:06:23 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-02-24 18:06:23 +0100
commit3609ee93e39f4896d749640760f82abdcde33fed (patch)
treeab2233664ba2dc1587bd58e61c174171c6349fed /common/Sections.mli
parentf64f6374c4b9db9f1111f272d842a625f0507ae6 (diff)
downloadcompcert-kvx-3609ee93e39f4896d749640760f82abdcde33fed.tar.gz
compcert-kvx-3609ee93e39f4896d749640760f82abdcde33fed.zip
thread local declarations now work
Diffstat (limited to 'common/Sections.mli')
-rw-r--r--common/Sections.mli5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Sections.mli b/common/Sections.mli
index bc97814d..e882f042 100644
--- a/common/Sections.mli
+++ b/common/Sections.mli
@@ -18,7 +18,8 @@
type section_name =
| Section_text
- | Section_data of bool (* true = init data, false = uninit data *)
+ | Section_data of bool (* true = init data, false = uninit data *)
+ * bool (* thread local? *)
| Section_small_data of bool
| Section_const of bool
| Section_small_const of bool
@@ -46,7 +47,7 @@ val define_section:
-> ?writable:bool -> ?executable:bool -> ?access:access_mode -> unit -> unit
val use_section_for: AST.ident -> string -> bool
-val for_variable: Env.t -> AST.ident -> C.typ -> bool ->
+val for_variable: Env.t -> AST.ident -> C.typ -> bool -> bool ->
section_name * access_mode
val for_function: Env.t -> AST.ident -> C.attributes -> section_name list
val for_stringlit: unit -> section_name