8bit and 16bit relocations in gold

Andi Kleen andi@firstfloor.org
Mon Apr 28 23:32:00 GMT 2008


Cary Coutant wrote:
>>> First the crash happen really in the real mode code which has 8 and 16bit
>>> relocations (arch/x86/boot/* in a modern linux kernel tree). This is
>>> generated from a custom linker script (arch/x86/boot/setup.ld)
> 
> Looks like a couple of cut-n-paste typos (probably mine) in i386.cc.
> This patch ought to fix this problem; I'll get it tested and work up a
> real patch later today...

Doesn't this need to be fixed in the x86-64 code too?

-Andi



More information about the Binutils mailing list