public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: [patch] modify crt0.S for 64-bit address targets
@ 2005-04-06 18:51 cgd
  2005-04-06 19:01 ` Eric Christopher
  0 siblings, 1 reply; 10+ messages in thread
From: cgd @ 2005-04-06 18:51 UTC (permalink / raw)
  To: cgd, echristo; +Cc: binutils, newlib

> Assuredly this is the case. I think the problem might be from using the
> ori instead of addi for the address.

Perhaps.  For a 32-bit address, I'd expect the address generation to be
simply lui/addiu, or similar.  (in fact, for this, you only need the
lui.)

The only time i'd expect gas would be bothering with shifts at all
is for 64-bit addresses.  (but that's intuition speaking, rather than
code examination.)


cgd

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-06 21:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1112768205.5493.2.camel@localhost.localdomain>
     [not found] ` <mailpost.1112768909.17118@news-sj1-1>
2005-04-06  6:49   ` [patch] modify crt0.S for 64-bit address targets cgd
2005-04-06 11:05     ` Maciej W. Rozycki
2005-04-06 11:22       ` Thiemo Seufer
2005-04-06 14:40         ` Maciej W. Rozycki
2005-04-06 18:37     ` Eric Christopher
2005-04-06 19:31       ` Paul Koning
2005-04-06 19:35         ` Ian Lance Taylor
2005-04-06 21:35         ` Eric Christopher
2005-04-06 18:51 cgd
2005-04-06 19:01 ` Eric Christopher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).