-----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