summaryrefslogtreecommitdiff
path: root/checklink/Frameworks.ml
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-28 08:47:43 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-28 08:47:43 +0000
commit8d7c806e16b98781a3762b5680b4dc64764da1b8 (patch)
tree82fb3ecd34e451e4e96f57e2103a694c9acc0830 /checklink/Frameworks.ml
parentad12162ff1f0d50c43afefc45e1593f27f197402 (diff)
Simpler, more robust emulation of calls to variadic functions:
- C function types and Cminor signatures annotated by calling conventions. esp. vararg / not vararg - Cshmgen: generate correct code for function call where there are more arguments than listed in the function prototype. This is still undefined behavior according to the formal semantics, but correct code is generated. - C2C, */PrintAsm.ml: remove "printf$iif" hack. - powerpc/, checklink/: don't generate stubs for variadic functions. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2386 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'checklink/Frameworks.ml')
-rw-r--r--checklink/Frameworks.ml8
1 files changed, 0 insertions, 8 deletions
diff --git a/checklink/Frameworks.ml b/checklink/Frameworks.ml
index 35144dc..ec11412 100644
--- a/checklink/Frameworks.ml
+++ b/checklink/Frameworks.ml
@@ -84,9 +84,6 @@ type s_framework = {
as we learn more about the contents of the symbol.
*)
ident_to_sym_ndx: (int list) PosMap.t;
- (** CompCert generates stubs for some functions, which we will aggregate as we
- discover them. *)
- stub_ident_to_vaddr: int32 PosMap.t;
(** This structure is imported from CompCert's .sdump, and describes each
atom. *)
atoms: (ident, C2C.atom_info) Hashtbl.t;
@@ -140,11 +137,6 @@ let ident_to_sym_ndx = {
set = (fun i sf -> { sf with ident_to_sym_ndx = i });
}
-let stub_ident_to_vaddr = {
- get = (fun sf -> sf.stub_ident_to_vaddr);
- set = (fun i sf -> { sf with stub_ident_to_vaddr = i });
-}
-
(** Adds a range to the checked bytes list.
*)
let add_range (start: int32) (length: int32) (align: int) (bcd: byte_chunk_desc)