This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recent binutils and mips64-linux


On Tue, Sep 23, 2003 at 11:01:11AM -0700, Eric Christopher wrote:
> 
> > > 
> > > objcopy?
> > 
> > You mean, let gcc generate n64 code, stuff it in n32 objects, and
> > objcopy it back to n64? Well, it may work, but it looks more like
> > a test of binutils sign-extension handling than a straightforward
> > way of creating kernels to me.
> > 
> > Besides, as soon as gcc handles 64bit expansions itself we need
> > such an option anyway.
> 
> 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.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]