[patch] adjust libgloss addresses for 64-bit

Eric Christopher echristo@redhat.com
Fri Apr 15 16:50:00 GMT 2005


> > > leaving us with a zero-extended value in a register which is
> > > unpredictable as far as the standard (and at least one chip out there)
> 
>  Hmm, 0x80000000 should be a valid XKUSEG address...
> 

Nothing wrong with the address, but it's loaded as:

ori $2,0x8000
dsll $2,$2,0x10

so it's zero extended and not sign extended as it should be.

-eric



More information about the Binutils mailing list