Lines 679-695
let fundecl fundecl =
Link Here
|
679 |
emit_all true fundecl.fun_body; |
679 |
emit_all true fundecl.fun_body; |
680 |
List.iter emit_call_gc !call_gc_sites; |
680 |
List.iter emit_call_gc !call_gc_sites; |
681 |
emit_call_bound_errors (); |
681 |
emit_call_bound_errors (); |
|
|
682 |
begin match Config.system with |
683 |
"linux" | "gnu" -> |
684 |
` .type {emit_symbol fundecl.fun_name},@function\n`; |
685 |
` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` |
686 |
| _ -> () |
687 |
end; |
682 |
if !float_constants <> [] then begin |
688 |
if !float_constants <> [] then begin |
683 |
if macosx |
689 |
if macosx |
684 |
then ` .literal8\n` |
690 |
then ` .literal8\n` |
685 |
else ` .section .rodata.cst8,\"a\",@progbits\n`; |
691 |
else ` .section .rodata.cst8,\"a\",@progbits\n`; |
686 |
List.iter emit_float_constant !float_constants |
692 |
List.iter emit_float_constant !float_constants |
687 |
end; |
693 |
end |
688 |
match Config.system with |
|
|
689 |
"linux" | "gnu" -> |
690 |
` .type {emit_symbol fundecl.fun_name},@function\n`; |
691 |
` .size {emit_symbol fundecl.fun_name},.-{emit_symbol fundecl.fun_name}\n` |
692 |
| _ -> () |
693 |
|
694 |
|
694 |
(* Emission of data *) |
695 |
(* Emission of data *) |
695 |
|
696 |
|