PATCH: Support 64bit BFD and 64bit host for xtensa
Bob Wilson
bwilson@tensilica.com
Mon Apr 11 16:58:00 GMT 2005
H. J. Lu wrote:
> On Sat, Apr 09, 2005 at 01:48:35PM -0700, H. J. Lu wrote:
>
>>m68k and xtensa are failed to build with --enable-64-bit-bfd. This
>>patch fixes it.
This part is OK with me.
> It turns out that xtensa doesn't support 64bit BFD on 32bit host
> nor 64bit host. xtensa passes pointer as int to frag_variant, where
> it is stored as offsetT. This patch changes int to long.
This doesn't seem like the right solution. I'd rather not be casting pointers
to integers, even if the integer is big enough. Let me see if I can find a way
to avoid storing pointers in the frag's fr_var field.
--Bob
More information about the Binutils
mailing list