[Mono-dev] Win64 Stack Arguments Patch

Jonathan Chambers joncham at gmail.com
Wed Apr 23 09:07:54 EDT 2008


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/20080423/032dd014/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win64.diff
Type: text/x-diff
Size: 2911 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080423/032dd014/attachment.bin 


More information about the Mono-devel-list mailing list