]> git.pld-linux.org Git - packages/ocaml.git/blob - ocaml-gas.patch
- release 19 (by relup.sh)
[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    emit_all true fundecl.fun_body;
7    List.iter emit_call_gc !call_gc_sites;
8    emit_call_bound_errors ();
9 +  `    .text\n`;
10    begin match Config.system with
11      "linux_elf" | "bsd_elf" | "gnu" ->
12        `        .type   {emit_symbol fundecl.fun_name},@function\n`;
This page took 0.054532 seconds and 3 git commands to generate.