linux-mips
[Top] [All Lists]

Re: recent binutils and mips64-linux

To: Zack Weinberg <zack@codesourcery.com>
Subject: Re: recent binutils and mips64-linux
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 23 Sep 2003 15:56:39 -0400
Cc: Eric Christopher <echristo@redhat.com>, Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>, Alexandre Oliva <aoliva@redhat.com>, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Atsushi Nemoto <nemoto@toshiba-tops.co.jp>, linux-mips@linux-mips.org, binutils@sources.redhat.com
In-reply-to: <87eky7b867.fsf@codesourcery.com>
Mail-followup-to: Zack Weinberg <zack@codesourcery.com>, Eric Christopher <echristo@redhat.com>, Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>, Alexandre Oliva <aoliva@redhat.com>, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Atsushi Nemoto <nemoto@toshiba-tops.co.jp>, linux-mips@linux-mips.org, binutils@sources.redhat.com
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.3.96.1030919144141.9134C-100000@delta.ds2.pg.gda.pl> <1063988420.2537.5.camel@ghostwheel.sfbay.redhat.com> <20030919164119.GH13578@rembrandt.csv.ica.uni-stuttgart.de> <ord6ds346n.fsf@free.redhat.lsd.ic.unicamp.br> <20030922233952.GR13578@rembrandt.csv.ica.uni-stuttgart.de> <1064280106.21720.0.camel@ghostwheel.sfbay.redhat.com> <20030923081447.GS13578@rembrandt.csv.ica.uni-stuttgart.de> <1064340070.21720.14.camel@ghostwheel.sfbay.redhat.com> <20030923181659.GA30037@nevyn.them.org> <87eky7b867.fsf@codesourcery.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.1i
On Tue, Sep 23, 2003 at 12:45:36PM -0700, Zack Weinberg wrote:
> Daniel Jacobowitz <dan@debian.org> writes:
> 
> > On Tue, Sep 23, 2003 at 11:01:11AM -0700, Eric Christopher wrote:
> >> 
> >> I'm still trying to figure out why you are going through such weird
> >> contortions at all. I understand not having an elf64 loader. That's what
> >> the objcopy comment was for, everything else I don't understand. Why not
> >> compile for the abi you want?
> >
> > Compare the optimal way to load an address into a register when you
> > have a full 64-bit address space and when you know that addresses are
> > sign extended.  I'm told it saves over 100K of code.
> 
> Maybe what you really want is an -mdata-model=kernel switch (or some
> such spelling) that tells gcc to do the right thing in the first
> place?

GCC should get a switch to do this.  But GCC doesn't (does 3.4 yet?)
emit these itself anyway.  Binutils expands them from the dla macro.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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