[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, 17 Jun 2004 01:53:09 -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-13 11:59:18.000000000 -0400
+++ shadow/59008.tmp.8470 2004-06-17 01:53:09.000000000 -0400
@@ -284,6 +284,15 @@
------- Additional Comments From lupus@ximian.com 2004-06-13 11:59 -------
Thanks for the patch: committed.
We may want to avoid generating .align directives, since they are not
really useful on ppc.
Leaving the bug open for the other issue on load you mentioned.
+
+------- Additional Comments From pcbeard@mac.com 2004-06-17 01:53 -------
+The problem stemmed from the direct usage of the ld to do the linking. Changing to use
+gcc fixes the problem. However, I've found additional problems with the generated
+assembly: 1) label and .globl directives need to have leading underscore character on
+mach-o; 2) branch absolute instructions must not be used for non-relocated branches
+(such as MONO_PATCH_INFO_BB patches).
+
+I will file a separate bug for the 2nd issue. I think the bug is in how ppc_patch() works.