[RFA] Update OpenBSD/mips64 support

Mark Kettenis mark.kettenis@xs4all.nl
Wed Apr 13 22:45:00 GMT 2005


   Date: Wed, 13 Apr 2005 23:56:33 +0200
   From: Thiemo Seufer <ths@networkno.de>

   Mark Kettenis wrote:
   > diff -u -p -r1.176 configure.in
   > --- configure.in 6 Apr 2005 15:42:14 -0000 1.176
   > +++ configure.in 13 Apr 2005 22:07:41 -0000
   > @@ -281,6 +281,9 @@ changequote([,])dnl
   >  	  mips*-linux*)
   >  	    mips_default_abi=O32_ABI
   >  	    ;;
   > +	  mips64*-openbsd*)
   > +	    mips_default_abi=N64_ABI

   Is n64 as default a good choice? n32 provides better performance unless
   you exceed 2GB address space.

OpenBSD/mips64 only supports fully 64-bit code.

   > diff -u -p -r1.7 configure.tgt
   > --- configure.tgt 11 Apr 2005 22:31:37 -0000 1.7
   > +++ configure.tgt 13 Apr 2005 22:07:41 -0000
   > @@ -300,7 +300,7 @@ case ${generic_target} in
   >    mips-*-sysv*)				fmt=ecoff ;;
   >    mips-*-elf* | mips-*-rtems*)		fmt=elf ;;
   >    mips-*-netbsd*)			fmt=elf ;;
   > -  mips-*-openbsd*)			fmt=elf ;;
   > +  mips-*-openbsd*)			fmt=elf em=tmips ;;
   >  

   Is mips-dec-openbsd* mentioned above it obsolete? I figure that's the
   pmax port you mentioned above.

Suppose so.  The current config.guess won't produce that triplet.  And
specifying that target by hand won't work either since that results in
an attempt to build an ELF gas with a BFD that only supports ECOFF.

I'll happily remove that config.

Mark



More information about the Binutils mailing list