This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot + Configuration tool 2.11 question
G.Muruganandam wrote:
Hi ,
Here is the output from the redboot_main.o in the build dir
dboot_main.o: file format elf32-bigarm
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00001cc0 00000000 00000000 00000040 2**5
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .data 0000000c 00000000 00000000 00001d00 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000108 00000000 00000000 00001d0c 2**2
ALLOC
3 .debug_abbrev 000003ba 00000000 00000000 00001d0c 2**0
CONTENTS, READONLY, DEBUGGING
4 .debug_info 00003865 00000000 00000000 000020c6 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
5 .debug_line 000016a4 00000000 00000000 0000592b 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
6 .rodata 00000e80 00000000 00000000 00006fd0 2**3
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 .ecos.table.RedBoot_commands.data.do_version 00000010 00000000
00000000 00007e50 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
This looks fine. In that case look at hal/arm/arch/VERSION/src/arm.ld. It
should have something like:
KEEP(*( SORT (.ecos.table.*))) ; \
in the definition of SECTION_data. This maps the input section (from the
above .o) into the .data section of the final image.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss