summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-03-28 13:32:21 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-03-28 13:32:21 +0000
commitbefbc76f89f3d8abc8da17caf91ea4a87ec96eeb (patch)
treed84d76258ca9b2505713552bb62be8c40714787b /common
parent26c166e279ec05837b6b3b5db80a7ef3c520db32 (diff)
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
Diffstat (limited to 'common')
-rw-r--r--common/Sections.ml1
-rw-r--r--common/Sections.mli5
2 files changed, 2 insertions, 4 deletions
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