diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-02-22 14:05:47 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-02-22 14:05:47 +0000 |
commit | e1030852452c9e59045806d3306bffb14742da3b (patch) | |
tree | 075dc8dedbeaa40aab5737045950c46136bcacf5 /common/Sections.mli | |
parent | 902c3f9defe6599c20c74cf0af646e270fe91122 (diff) | |
download | compcert-e1030852452c9e59045806d3306bffb14742da3b.tar.gz compcert-e1030852452c9e59045806d3306bffb14742da3b.zip |
Simplified and cleaned up the passing of information from C2C to PrintAsm, as well as the handling of sections.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1822 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'common/Sections.mli')
-rw-r--r-- | common/Sections.mli | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/common/Sections.mli b/common/Sections.mli index c6a7c963..a487f34e 100644 --- a/common/Sections.mli +++ b/common/Sections.mli @@ -34,10 +34,8 @@ val define_section: -> ?writable:bool -> ?executable:bool -> ?near:bool -> unit -> unit val use_section_for: AST.ident -> string -> bool -val define_function: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> unit -val define_variable: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> unit -val define_stringlit: AST.ident -> unit - -val section_for_variable: AST.ident -> bool -> section_name -val sections_for_function: AST.ident -> section_name * section_name * section_name -val atom_is_small_data: AST.ident -> Integers.Int.int -> bool +val for_variable: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> bool -> + section_name * bool +val for_function: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> + section_name list +val for_stringlit: unit -> section_name |