This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: arm-elf-objcopy create a 200MB binary from a 200K elf image!!
- To: Cliff Tsai <clifftsai at minecard dot com dot tw>
- Subject: Re: arm-elf-objcopy create a 200MB binary from a 200K elf image!!
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 16 Mar 2001 08:30:34 +0000
- Cc: binutils at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <000a01c0adc4$f7ca4f00$b200a8c0@minecard.com.tw>
> Cliff Tsai wrote:
>
> Hi:
>
> I'm trying to converter a elf image to binary format
> $arm-elf-objcopy -I elf-littlearm -O binary testarm.elf testarm.bin
>
> But testarm.bin is almost 200M,but my testarm.elf only has 200K.
> Why?
Probably because code or data sections are being loaded at addresses 200Mb
apart. Run "arm-elf-objdump -h testarm.elf" and look at the load addresses
of each section. For what you intend, they should all be close together.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine