This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] adjust libgloss addresses for 64-bit
Maciej W. Rozycki wrote:
[snip]
> > I think la should load a proper address for 32bit address space, even
> > when used in code with 64bit addresses. That's the most useful
> > behaviour for it.
>
> So what should "la $2,0x80000000($3)" do when using 64-bit addresses?
> Replace/supplement the offset with a symbol as suitable...
Hm, looks like we break somebody's assumptions regardless what we do.
So leaving la as it is and warn about its use seems to be best.
Thiemo