[SeaBIOS] too big seabios (1MB)
Rudolf Marek
r.marek at assembler.cz
Sat Mar 6 15:17:19 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
With debian unstable binutils 2.18 and 2.20 I always get quite big bios.bin.elf
Image. I believe it is because rom.o has alignes for 2**21
Yes this is default align on AMD64.
out/rom.o: file format elf32-i386
out/rom.o
architecture: i386, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x000fdf9d
Program Header:
LOAD off 0x000ef000 vaddr 0x000ef000 paddr 0x000ef000 align 2**21
filesz 0x00011000 memsz 0x00011000 flags r-x
Not sure how to fix it?
I tried adding . = ALIGN(4096) to the linker script but it complains about
truncated relocs.
Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuSY+8ACgkQ3J9wPJqZRNUGsACcCOaux4C6Y3MEtPR+qe9sVS9A
h+MAoLn33J7XzcZUrPq5Dif2X5MxSl4h
=I7RK
-----END PGP SIGNATURE-----
More information about the SeaBIOS
mailing list