On Tue, Sep 14, 2004 at 09:47:56AM -0500, Hollis Blanchard wrote:
grubof -S: 166131 bytes; objcopy -O binary: 146224 bytes
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg
Align
LOAD 0x010000 0x00200000 0x00200000 0x13d68 0x13d68 R E
0x10000
LOAD 0x023d68 0x00223d68 0x00223d68 0x001b0 0x08bd4 RW
0x10000
From the above, I'd say the wasted space is the nearly 64k between the
end of elf headers and start of .text. You have a section alignment of
64k for some reason.. If you changed .text to start at
0x10000+SIZEOF_HEADERS, you'd find the image packed into the file
better.