From e1030852452c9e59045806d3306bffb14742da3b Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 22 Feb 2012 14:05:47 +0000 Subject: 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 --- common/Sections.mli | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'common/Sections.mli') 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 -- cgit