summaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-02-05 14:08:10 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-02-05 14:08:10 +0000
commit187aacedcf9c166ff55a7548c5c5725e41e4d094 (patch)
treef761f27e70c01064129f9e5ba986b3bfbc301470 /arm
parentf9d92a67dd765fad9b980a933887477b3c3e6f40 (diff)
Recognize .i and .p source files as C sources not to be preprocessed.
Add CompCert version number and command line as comments in generated asm. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2407 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'arm')
-rw-r--r--arm/PrintAsm.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm/PrintAsm.ml b/arm/PrintAsm.ml
index 01b881f..66aa908 100644
--- a/arm/PrintAsm.ml
+++ b/arm/PrintAsm.ml
@@ -888,6 +888,7 @@ let print_globdef oc (name, gdef) =
let print_program oc p =
(* fprintf oc " .fpu vfp\n"; *)
+ PrintAnnot.print_version_and_options oc comment;
Hashtbl.clear filename_num;
List.iter (print_globdef oc) p.prog_defs