aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/trans.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-25 15:43:55 -0700
committerGraydon Hoare <[email protected]>2010-06-25 15:43:55 -0700
commit67d1f0a9aafaa7dcd63b86032127ab660e630c46 (patch)
treec563f52cefc275b0e9d4fd56fdb74d224cd70df7 /src/boot/me/trans.ml
parentReturn at end of GC glue. (diff)
downloadrust-67d1f0a9aafaa7dcd63b86032127ab660e630c46.tar.xz
rust-67d1f0a9aafaa7dcd63b86032127ab660e630c46.zip
Emit gc glue and rearrange crate glue offsets slightly to have a regular order.
Diffstat (limited to 'src/boot/me/trans.ml')
-rw-r--r--src/boot/me/trans.ml9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml
index af9a849b..a00f0b25 100644
--- a/src/boot/me/trans.ml
+++ b/src/boot/me/trans.ml
@@ -4891,9 +4891,10 @@ let trans_visitor
Asm.WORD (word_ty_mach, Asm.M_SZ cx.ctxt_debug_info_fixup);
crate_rel_word cx.ctxt_activate_fixup;
- crate_rel_word cx.ctxt_exit_task_fixup;
- crate_rel_word cx.ctxt_unwind_fixup;
crate_rel_word cx.ctxt_yield_fixup;
+ crate_rel_word cx.ctxt_unwind_fixup;
+ crate_rel_word cx.ctxt_gc_fixup;
+ crate_rel_word cx.ctxt_exit_task_fixup;
tab_sz cx.ctxt_required_rust_sym_num;
tab_sz cx.ctxt_required_c_sym_num;
@@ -4915,6 +4916,10 @@ let trans_visitor
(fun e -> abi.Abi.abi_unwind
e nabi_rust (upcall_fixup "upcall_exit"));
+ emit_aux_global_glue cx GLUE_gc
+ cx.ctxt_gc_fixup
+ abi.Abi.abi_gc;
+
ignore (get_exit_task_glue ());
begin