summaryrefslogtreecommitdiff
path: root/powerpc/PrintAsm.ml
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 /powerpc/PrintAsm.ml
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 'powerpc/PrintAsm.ml')
-rw-r--r--powerpc/PrintAsm.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/powerpc/PrintAsm.ml b/powerpc/PrintAsm.ml
index b9778c4..b90b9f2 100644
--- a/powerpc/PrintAsm.ml
+++ b/powerpc/PrintAsm.ml
@@ -1203,6 +1203,7 @@ let print_prologue oc =
let print_program oc p =
reset_file_line();
+ PrintAnnot.print_version_and_options oc comment;
print_prologue oc;
List.iter (print_globdef oc) p.prog_defs