Author: zoltan
Date: 2005-07-05 16:13:50 -0400 (Tue, 05 Jul 2005)
New Revision: 46969
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/aot.c
Log:
2005-07-05 Zoltan Varga <[EMAIL PROTECTED]>
* aot.c (mono_compile_assembly): Allocate the GOT in the .bss segment
on x86 too.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2005-07-05 20:08:27 UTC (rev 46968)
+++ trunk/mono/mono/mini/ChangeLog 2005-07-05 20:13:50 UTC (rev 46969)
@@ -1,10 +1,13 @@
2005-07-05 Zoltan Varga <[EMAIL PROTECTED]>
+ * aot.c (mono_compile_assembly): Allocate the GOT in the .bss segment
+ on x86 too.
+
* aot.c: Add new mono_aot_get_method_from_token () function to load AOT
methods
without loading their metadata. Reorganize the file format so exception
handling+
debug info is kept separate from normal method info. Create MonoJitInfo
structures for methods lazily.
-
+
* tramp-x86.c (x86_aot_trampoline): Use the new from_token method to
avoid
loading metadata.
(x86_class_init_trampoline): Patch AOT class init trampolines too.
Modified: trunk/mono/mono/mini/aot.c
===================================================================
--- trunk/mono/mono/mini/aot.c 2005-07-05 20:08:27 UTC (rev 46968)
+++ trunk/mono/mono/mini/aot.c 2005-07-05 20:13:50 UTC (rev 46969)
@@ -2570,11 +2570,7 @@
/* Don't make GOT global so accesses to it don't need relocations */
symbol = g_strdup_printf ("got");
-#ifdef __x86_64__
emit_section_change (tmpfp, ".bss", 1);
-#else
- emit_section_change (tmpfp, ".data", 1);
-#endif
emit_alignment (tmpfp, 8);
emit_label(tmpfp, symbol);
if (acfg->got_offset > 0)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches