From befbc76f89f3d8abc8da17caf91ea4a87ec96eeb Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 28 Mar 2012 13:32:21 +0000 Subject: checklink: first import of Valentin Robert's validator for asm and link cparser: renamed Errors to Cerrors; removed packing into Cparser. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1856 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- common/Sections.ml | 1 - common/Sections.mli | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/Sections.ml b/common/Sections.ml index 3ee36e8..90ddea7 100644 --- a/common/Sections.ml +++ b/common/Sections.ml @@ -14,7 +14,6 @@ (* *********************************************************************) open Camlcoq -open Cparser (* Handling of linker sections *) diff --git a/common/Sections.mli b/common/Sections.mli index a487f34..8b7c9dc 100644 --- a/common/Sections.mli +++ b/common/Sections.mli @@ -34,8 +34,7 @@ val define_section: -> ?writable:bool -> ?executable:bool -> ?near:bool -> unit -> unit val use_section_for: AST.ident -> string -> bool -val for_variable: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> bool -> +val for_variable: Env.t -> AST.ident -> C.typ -> bool -> section_name * bool -val for_function: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> - section_name list +val for_function: Env.t -> AST.ident -> C.typ -> section_name list val for_stringlit: unit -> section_name -- cgit v1.2.3