[patch] adjust libgloss addresses for 64-bit

Thiemo Seufer ths@networkno.de
Fri Apr 15 11:28:00 GMT 2005


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



More information about the Newlib mailing list