This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch testsuite ld]: Various fixes for the x86_64 pe target


Kai Tietz wrote:

> Casting a pointer to the type 'int' on 64-bit systems in general leads
> to "warning: cast from pointer to integer of different size".

  Not on an ILP64, but I don't think we support any of them anyway.  Win64 is
an LLP64 system, isn't it?

> Therefore, before casting a pointer to integer scalar, you have to
> convert it into a pointer-sized scalar (__SIZE_TYPE__ as gcc defines
> it).
> 
> I thought those fixes were pretty obvious here, sorry to use to lax
> description in mail header.

  ;) What's that image base thing about in the empty address test?

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]