This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: recent binutils and mips64-linux
- From: Eric Christopher <echristo at redhat dot com>
- To: Daniel Jacobowitz <dan at debian dot org>
- Cc: linux-mips at linux-mips dot org, binutils at sources dot redhat dot com
- Date: Thu, 18 Sep 2003 19:58:00 -0700
- Subject: Re: recent binutils and mips64-linux
- References: <20030918212727.GA24686@nevyn.them.org>
On Thu, 2003-09-18 at 14:27, Daniel Jacobowitz wrote:
> I'm sure this has been discussed already...
>
> The Linux kernel currently uses among other things, -Wa,-32,-mgp64. The
> point is to use 32-bit ELF and 64-bit instructions. But nowadays binutils
> requires that the ABI explicitly match the width of GP registers.
>
> Can gas still do ELF32 in with 64-bit registers? If so, what the heck is
> the command-line magic?
Discussed on irc :)
mips-linux-gcc -mabi=32 -march=64bitarch is my suggestion.
otherwise, -mabi=o64 is o32 extended to 64-bit registers.
-eric
--
Eric Christopher <echristo@redhat.com>