linux-mips
[Top] [All Lists]

Re: recent binutils and mips64-linux

To: Daniel Jacobowitz <dan@debian.org>
Subject: Re: recent binutils and mips64-linux
From: Eric Christopher <echristo@redhat.com>
Date: Thu, 18 Sep 2003 19:58:00 -0700
Cc: linux-mips@linux-mips.org, binutils@sources.redhat.com
In-reply-to: <20030918212727.GA24686@nevyn.them.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030918212727.GA24686@nevyn.them.org>
Sender: linux-mips-bounce@linux-mips.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>


<Prev in Thread] Current Thread [Next in Thread>