3 --- asmcomp/power/emit.mlp.orig 2007-05-10 18:41:12.000000000 +0200
4 +++ asmcomp/power/emit.mlp
5 @@ -825,6 +825,30 @@ let rec emit_all i =
9 +(* Emission of the profiling prelude *)
11 +let emit_profile () =
12 + match Config.system with
14 + ` stwu 1, -32(1)\n`;
23 + ` bl {emit_symbol "_mcount"}\n`;
30 + ` addic 1, 1, 32\n`;
31 + | _ -> () (*unsupported yet*)
33 (* Emission of a function declaration *)