It seems like this is binutils bug. I reinstalled binutils from this snapshot ftp://sourceware.org/pub/binutils/snapshots/binutils-2.20.51.tar.bz2 and all went fine.
go@02-utest02:~/seabios-0.6.1.2$ ld -v GNU ld (GNU Binutils) 2.20.51.20101105
go@02-utest02:~/seabios-0.6.1.2$ make Compiling whole program out/ccode.16.s Compiling to assembler out/asm-offsets.s Generating offset file out/asm-offsets.h Compiling (16bit) out/code16.o Compiling whole program out/ccode32flat.o Compiling whole program out/code32seg.o Building ld scripts (version "0.6.1.2-20110510_133622-02-utest02") Fixed space: 0xe05b-0x10000 total: 8101 slack: 17 Percent slack: 0.2% 16bit size: 38928 32bit segmented size: 1464 32bit flat size: 66904 Linking out/rom16.o Stripping out/rom16.strip.o Linking out/rom32seg.o Stripping out/rom32seg.strip.o Linking out/rom.o Prepping out/bios.bin Total size: 107296 Free space: 23776 Percent used: 81.9% (128KiB rom) go@02-utest02:~/seabios-0.6.1.2$
It seems like this is binutils bug. e.org/pub/ binutils/ snapshots/ binutils- 2.20.51. tar.bz2 and all went fine.
I reinstalled binutils from this snapshot ftp://sourcewar
go@02-utest02: ~/seabios- 0.6.1.2$ ld -v
GNU ld (GNU Binutils) 2.20.51.20101105
go@02-utest02: ~/seabios- 0.6.1.2$ make 2-20110510_ 133622- 02-utest02" ) strip.o ~/seabios- 0.6.1.2$
Compiling whole program out/ccode.16.s
Compiling to assembler out/asm-offsets.s
Generating offset file out/asm-offsets.h
Compiling (16bit) out/code16.o
Compiling whole program out/ccode32flat.o
Compiling whole program out/code32seg.o
Building ld scripts (version "0.6.1.
Fixed space: 0xe05b-0x10000 total: 8101 slack: 17 Percent slack: 0.2%
16bit size: 38928
32bit segmented size: 1464
32bit flat size: 66904
Linking out/rom16.o
Stripping out/rom16.strip.o
Linking out/rom32seg.o
Stripping out/rom32seg.
Linking out/rom.o
Prepping out/bios.bin
Total size: 107296 Free space: 23776 Percent used: 81.9% (128KiB rom)
go@02-utest02: