[Mono-dev] Win64 Stack Arguments Patch

Jonathan Chambers joncham at gmail.com
Thu Apr 24 23:48:00 EDT 2008


Hello,
     After getting some help on IRC I rewrote these changes. With this new
patch, most of the regressions in mono/mono/mini run successfully (exception
handling is not working).

    Code contributed under MIT/X11 license.

Thanks,
Jonathan

On Wed, Apr 23, 2008 at 9:07 AM, Jonathan Chambers <joncham at gmail.com>
wrote:

> Sorry, forgot to attach patch.
>
> Thanks,
> Jonathan
>
>
> On Wed, Apr 23, 2008 at 8:15 AM, Jonathan Chambers <joncham at gmail.com>
> wrote:
>
>> Hello,
>>      This patch attempts to fix arguments passed on the stack for Winx64.
>> Please let me know if the approach is acceptable, or if there is a better
>> way.
>>
>> The next roadblack has to do with arrays. I am getting a type load
>> exception when initializing the System.String class because it tries to
>> initialize a static array in the class (WhiteChars I believe), and the call
>> to ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray
>> fails because the
>>
>> if (!(field_handle->type->attrs & FIELD_ATTRIBUTE_HAS_FIELD_RVA)) {
>>
>> check fails. Any thoughts on the cause of this would be appreciated.
>>
>> Code contributed under MIT/X11 license.
>>
>> Thanks,
>>  Jonathan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080424/a3ca31c0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win64.diff
Type: application/octet-stream
Size: 3949 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080424/a3ca31c0/attachment.obj 


More information about the Mono-devel-list mailing list