]>
Commit | Line | Data |
---|---|---|
9de25172 JB |
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 | |
5 | @@ -906,6 +906,7 @@ | |
6 | List.iter emit_call_gc !call_gc_sites; | |
7 | emit_call_bound_errors (); | |
8 | List.iter emit_float_constant !float_constants; | |
9 | + ` .text\n`; | |
10 | match Config.system with | |
11 | "linux_elf" | "bsd_elf" | "gnu" -> | |
12 | ` .type {emit_symbol fundecl.fun_name},@function\n`; |