]> git.pld-linux.org Git - packages/ocaml.git/blob - ocaml-gas.patch
- rel 2
[packages/ocaml.git] / ocaml-gas.patch
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`;
This page took 0.047689 seconds and 3 git commands to generate.