linux-mips
[Top] [All Lists]

Re: recent binutils and mips64-linux

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: recent binutils and mips64-linux
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Fri, 19 Sep 2003 19:08:25 +0200
Cc: Eric Christopher <echristo@redhat.com>, Atsushi Nemoto <nemoto@toshiba-tops.co.jp>, Daniel Jacobowitz <dan@debian.org>, linux-mips@linux-mips.org, binutils@sources.redhat.com
In-reply-to: <Pine.GSO.3.96.1030919184248.9134L-100000@delta.ds2.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030919164119.GH13578@rembrandt.csv.ica.uni-stuttgart.de> <Pine.GSO.3.96.1030919184248.9134L-100000@delta.ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.4i
Maciej W. Rozycki wrote:
> On Fri, 19 Sep 2003, Thiemo Seufer wrote:
> 
> > > OK as in "it works for me", and OK as in "this is the correct usage" are
> > > two different things. I believe that for a 64-bit kernel either -mabi=64
> > > or -mabi=n32 (-mlong64) are the right long term answer,
> > 
> > A third answer is to add a -msign-extend-addresses switch in the assembler.
> > Together with -mabi=64 this would produce optimized ELF64 output.
> 
>  Hmm, what do you exactly mean -- is that what I am worrying about?

The idea is to use the assembler's 32bit macro expansions for addresses.
This reduces the .text size of a n64 kernel and improves the performance,
without tricks like -Wa,32.


Thiemo

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