This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [eCos] Linker data section confusion (mine)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]