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/RFA] Add elf64_{big,little}mips to mips*-*-netbsd*


On Wed, May 15, 2002 at 12:20:38AM +0200, Thiemo Seufer wrote:

 > > 	(1) I always want to include elf64_{big,little}mips support in
 > > 	    the NetBSD MIPS config.  It looks like if I put it in
 > > 	    targ64_selvecs, I would need to explicitly set want64=true
 > > 	    to achieve this.
 > 
 > --enable-64-bit-bfd does this. If you include 64 bit targets into
 > "targ_selvecs" this happens implicitly, which means the toolchain
 > will always build with BFD64.

Right.  The point is that I *always* want the elf64 mips stuff for
NetBSD MIPS configurations.  Not just when building on a host that
happens to be 64-bit.  And the right thing (i.e. "include elf64
support") should happen without having to specify --enable-64-bit-bfd
on a 32-bit host which is capable of building that code.

 > > 	(2) The patch I submitted is consistent with other MIPS
 > > 	    configurations.
 > 
 > I have a patch here to change this in order to re-allow MIPS
 > toolchains for targets without 64 bit (compiler) integer.

It seems like the real bug is that there is not a sufficient autoconf
check for 64-bit support in the host's compiler.  (If the host's compiler
can do it, BFD64 should always be defined, IMO.)

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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