[Mono-bugs] [Bug 59008][Min] Changed - MacOSX assembler is not compatible with --aot output
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 10 Jun 2004 20:31:46 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by pcbeard@mac.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59008
--- shadow/59008 2004-06-10 20:20:23.000000000 -0400
+++ shadow/59008.tmp.22915 2004-06-10 20:31:46.000000000 -0400
@@ -268,6 +268,16 @@
mono 1.0).
------- Additional Comments From pcbeard@mac.com 2004-06-10 20:20 -------
Created an attachment (id=8119)
Changes to generate working assembly for Mac OS X / darwin.
+
+------- Additional Comments From pcbeard@mac.com 2004-06-10 20:31 -------
+The patch generalizes how ".align" directives are emitted, using ilog2(size) on Darwin. It
+also changes how the section changes are emitted, using .text and .data, and how the ld
+command is executed, using -dynamic, instead of -shared. In addition, the platform-
+specific shared library extension is now used in load_aot_module().
+
+With these changes, mono correctly assembles and links hello.exe.dylib. However, on
+subsequent runs, the call to g_module_open("hello.exe.dylib", G_MODULE_BIND_LAZY)
+returns NULL.