1 Recent binutils checks for .size validity - and relative .size needs to
2 be placed in the same section that referred symbols.
3 --- ocaml-3.12.0/asmcomp/i386/emit.mlp.orig 2010-01-20 17:26:46.000000000 +0100
4 +++ ocaml-3.12.0/asmcomp/i386/emit.mlp 2011-03-12 12:01:23.803419646 +0100
6 emit_all true fundecl.fun_body;
7 List.iter emit_call_gc !call_gc_sites;
8 emit_call_bound_errors ();
10 begin match Config.system with
11 "linux_elf" | "bsd_elf" | "gnu" ->
12 ` .type {emit_symbol fundecl.fun_name},@function\n`;