-----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
On Sat, Mar 06, 2010 at 03:17:19PM +0100, Rudolf Marek wrote:
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
Rudolf and I fixed this earlier today. For anyone else running into this problem, please pull the latest SeaBIOS git.
There is a fix in the git tree that will allow the images to be used. It's important to note that the bios.bin.elf will still be very large - the change enables cbfstool to remove the extra pad that some linkers add.
-Kevin
On 3/6/2010 at 03:06 PM, Kevin O'Connor kevin@koconnor.net wrote:
On Sat, Mar 06, 2010 at 03:17:19PM +0100, Rudolf Marek wrote:
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
Rudolf and I fixed this earlier today. For anyone else running into this problem, please pull the latest SeaBIOS git.
There is a fix in the git tree that will allow the images to be used. It's important to note that the bios.bin.elf will still be very large
- the change enables cbfstool to remove the extra pad that some
linkers add.
-Kevin
Are you sure this got checked in? I don't see any recent changes.
Bruce
On Tue, Mar 09, 2010 at 12:06:01AM -0700, Bruce Rogers wrote:
On 3/6/2010 at 03:06 PM, Kevin O'Connor kevin@koconnor.net wrote:
On Sat, Mar 06, 2010 at 03:17:19PM +0100, Rudolf Marek wrote:
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
Rudolf and I fixed this earlier today. For anyone else running into this problem, please pull the latest SeaBIOS git.
There is a fix in the git tree that will allow the images to be used. It's important to note that the bios.bin.elf will still be very large
- the change enables cbfstool to remove the extra pad that some
linkers add.
-Kevin
Are you sure this got checked in? I don't see any recent changes.
It's commit 92a5742b5f9f217ba6315fa13d075ba98ebc3fd6 - which is from Jan 10th.
-Kevin