From 3609ee93e39f4896d749640760f82abdcde33fed Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 24 Feb 2020 18:06:23 +0100 Subject: thread local declarations now work --- common/Sections.mli | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/Sections.mli') 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 -- cgit