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: [RFA] Update OpenBSD/mips64 support


Mark Kettenis wrote:
> This makes gas work for the new 64-bit OpenBSD/sgi aka OpenBSD/mips64.
> It's fairly obvious, except for the fact that it replaces an older
> 32-bit OpenBSD/mips config.  I don't think it's worth retaining that
> config since the members of that family have been discontinued with
> OpenBSD/arc 2.3 and OpenBSD/pmax 2.7.  The latter was released over 5
> years ago.
> 
> Ok?
> 
> 
> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* configure.tgt: Set emulation for mips-*-openbsd*.
> 	* configure.in: Set default ABI for mips64-*-openbsd*.
> 	* configure: Regenerate.
> 
> Index: configure.in
> ===================================================================
> RCS file: /cvs/src/src/gas/configure.in,v
> retrieving revision 1.176
> 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.

> +	    ;;
>  	  *)
>  	    mips_default_abi=NO_ABI
>  	    ;;
> Index: configure.tgt
> ===================================================================
> RCS file: /cvs/src/src/gas/configure.tgt,v
> retrieving revision 1.7
> 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.


Thiemo


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