LinuxBIOS & binutils evilness

Jeff Noxon jeff at
Thu Aug 14 13:37:00 CEST 2003 (Debian unstable) works for mkelfImage 2.5 but won't link
LinuxBIOS. (Debian stable) works for LinuxBIOS but mkelfimage 2.5
complains about no a5 magic.

Am I stuck with two versions of binutils?  Or maybe you know how to make
LB link with the latest binutils?  It looks like a binutils bug.

Here is my link error:

cp linuxbios_payload.nrv2b linuxbios_payload
echo "INCLUDE ldoptions" > ldscript.ld ; for file in  /usr/src/linuxbios/linuxbios/src/arch/i386/config/ldscript.base /usr/src/linuxbios/linuxbios/src/cpu/i386/ /usr/src/linuxbios/linuxbios/src/cpu/i386/ /usr/src/linuxbios/linuxbios/src/cpu/i386/ /usr/src/linuxbios/linuxbios/src/arch/i386/lib/ /usr/src/linuxbios/linuxbios/src/arch/i386/lib/ ; do echo "INCLUDE $file" >> ldscript.ld ; done
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
crt0.o(.reset+0x1): In function `reset_vector':
: relocation truncated to fit: R_386_PC16 _start_offset
collect2: ld returned 1 exit status
make[1]: *** [linuxbios] Error 1
make[1]: Leaving directory `/usr/src/linuxbios/tyan'
make: *** [xtyan] Error 2

More information about the coreboot mailing list