This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: [eCos] Linker data section confusion (mine)
- To: rbarraud at ihug dot co dot nz
- Subject: Re: [ECOS] [eCos] Linker data section confusion (mine)
- From: Jesper Skov <jskov at redhat dot com>
- Date: 13 Nov 2001 09:27:23 +0100
- Cc: eCos <ecos-discuss at sources dot redhat dot com>
- References: <200111122003.JAA11936@smtp1.ihug.co.nz>
>>>>> "rbarraud" == rbarraud <rbarraud@ihug.co.nz> writes:
rbarraud> I have an image redboot.bin which is humongous - 1.3GB
rbarraud> approx - which is the span of the addresses used in the
rbarraud> program (rom base at 0x50000000). Is this normal? - or
rbarraud> should the .bin build option strip it down to rom sections
rbarraud> etc.?
This is IIRC a bug in the objcopy utility. You can (again IIRC) work
around it by stripping the image before converting it. If that doesn't
work, try to:
$(OBJCOPY) --change-address 0xb0000000 a.bin b.bin
so b.bin ends up addressed at 0.
Jesper