]>
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 @@ | |
356fa1c2 | 6 | emit_all true fundecl.fun_body; |
9de25172 JB |
7 | List.iter emit_call_gc !call_gc_sites; |
8 | emit_call_bound_errors (); | |
9de25172 | 9 | + ` .text\n`; |
356fa1c2 | 10 | begin match Config.system with |
9de25172 JB |
11 | "linux_elf" | "bsd_elf" | "gnu" -> |
12 | ` .type {emit_symbol fundecl.fun_name},@function\n`; |