[Top] [All Lists]

Re: recent binutils and mips64-linux

To: Daniel Jacobowitz <>
Subject: Re: recent binutils and mips64-linux
From: Eric Christopher <>
Date: Thu, 18 Sep 2003 19:58:00 -0700
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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 Christopher <>

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