[Mono-bugs] [Bug 69351][Maj] New - The fat method header not properly aligned

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Nov 2004 06:07:08 -0500 (EST)

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 malekith@pld-linux.org.


--- shadow/69351	2004-11-11 06:07:08.000000000 -0500
+++ shadow/69351.tmp.20112	2004-11-11 06:07:08.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 69351
+Product: Mono: Runtime
+Version: 1.0
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malekith@pld-linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: The fat method header not properly aligned
+Description of Problem:
+The fat method header (ECMA 24.4.3) is not always 4-byte aligned (which is
+required by 24.4) in Mono S.R.E. generated assemblies. This causes problems
+with ms .net 2.0 beta 1, which requires the aligment.
+The bug has been previously submitted to Microsoft, and they identified it
+as a alignment bug:
+From my inspection of the mono source code, it is the method_encode_code
+function in reflection.c. I don't see any mention of aligment there, but I
+might as well be wrong.
+Anyway I attach a mono generated assembly, where the header of the 
+_N_lm_split_opt_282::split_opt method is not aligned.