<div>Anton,</div>
<div> </div>
<div>Here's a patch for correcting the long size and align for Windows64.</div>
<div> </div>
<div>-John<br><br></div>
<div class="gmail_quote">On Wed, Sep 23, 2009 at 1:44 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello, John<br>
<div class="im"><br>> I'm not sure what you mean.  Do you mean something about the<br>> DescriptionString member?<br></div>No, target data is the same (modulo some different alignments)<br>
<div class="im"><br>> I basically had the Windows targets inherit the<br>> one from the existing X86_64TargetInfo class.  Does it need resetting for<br>> Windows?<br></div>Yes. Windows uses LLP64 data model, and all other sane world LP64 :)<br>
<br>Basically:<br>1. Windows:<br>sizeof(int) == sizeof(long) == 4<br>2. Everything else<br>sizeof(int) != sizeof(long)<br><br>see, e.g. <a href="http://technet.microsoft.com/en-us/library/bb496995.aspx" target="_blank">http://technet.microsoft.com/en-us/library/bb496995.aspx</a> for<br>
more information<br><font color="#888888">--<br></font>
<div>
<div></div>
<div class="h5">With best regards, Anton Korobeynikov<br>Faculty of Mathematics and Mechanics, Saint Petersburg State University<br></div></div></blockquote></div><br><br clear="all">
<div></div><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>