aboutsummaryrefslogtreecommitdiffstats
path: root/common/Sections.mli
diff options
context:
space:
mode:
Diffstat (limited to 'common/Sections.mli')
-rw-r--r--common/Sections.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Sections.mli b/common/Sections.mli
index 8ec98e40..6d1d9c69 100644
--- a/common/Sections.mli
+++ b/common/Sections.mli
@@ -24,7 +24,7 @@ type initialized =
type section_name =
| Section_text
- | Section_data of initialized
+ | Section_data of initialized * bool (* true = thread local? *)
| Section_small_data of initialized
| Section_const of initialized
| Section_small_const of initialized
@@ -52,7 +52,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 -> C.location -> AST.ident -> C.typ -> initialized ->
+val for_variable: Env.t -> C.location -> AST.ident -> C.typ -> initialized -> bool ->
section_name * access_mode
val for_function: Env.t -> C.location -> AST.ident -> C.attributes -> section_name list
val for_stringlit: unit -> section_name