This is the mail archive of the binutils@sources.redhat.com 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: Support 64bit BFD and 64bit host for xtensa


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


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