[Mono-bugs] [Bug 646997] New: mcs doesn't emit the ILOnly flag when using /platform:x86
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 15 09:48:34 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=646997
https://bugzilla.novell.com/show_bug.cgi?id=646997#c0
Summary: mcs doesn't emit the ILOnly flag when using
/platform:x86
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: lluis at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
When compiling an assembly using the /platform:x86 option, mcs should include
both ILOnly and F32BitsRequired flags in the header.
Test case:
using System;
using Mono.Cecil;
namespace borra439
{
class MainClass
{
public static void Main (string[] args)
{
AssemblyDefinition asm = AssemblyFactory.GetAssembly (typeof
(MainClass).Assembly.Location);
Console.WriteLine (asm.MainModule.Image.CLIHeader.Flags);
}
}
}
Compile the above app using the /platform:x86 compiler option. It will print
"F32BitsRequired" but it should print "ILOnly, F32BitsRequired".
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list