This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: Running code from external ram on the AT91SAM7SE


> I have checked the flags on the data section: (see below for the
> complete output of objdump --header)
> 
>  15 .data         00000264  20000180  202047d0  00010180  2**2
>                   CONTENTS, ALLOC, LOAD, DATA

DATA is O.K.

However what is strange is the VMA and LMA addressing being different.
Look at all the other segments:


> Sections:
> Idx Name          Size      VMA       LMA       File off  Algn
>   7 .rom_vectors  00000040  20200000  20200000  00008000  2**0
>                   CONTENTS, ALLOC, LOAD, READONLY, CODE
>   8 .text         000045b4  20200040  20200040  00008040  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, CODE
>   9 .fini         00000000  202045f4  202045f4  00025e3e  2**0
>                   CONTENTS
>  10 .rodata       000001da  202045f4  202045f4  0000c5f4  2**2
>                   CONTENTS, ALLOC, LOAD, READONLY, DATA
>  11 .rodata1      00000000  202047d0  202047d0  00025e3e  2**0
>                   CONTENTS
>  12 .fixup        00000000  202047d0  202047d0  00025e3e  2**0
>                   CONTENTS
>  13 .gcc_except_table 00000000  202047d0  202047d0  00025e3e  2**0
>                   CONTENTS
>  14 .fixed_vectors 00000140  20000040  20000040  00025e40  2**5
>                   CONTENTS, READONLY
>  15 .data         00000264  20000180  202047d0  00010180  2**2
>                   CONTENTS, ALLOC, LOAD, DATA
>  16 .bss          000081e0  200003e4  200003e4  000003e4  2**5
>                   ALLOC
>  17 .comment      00000168  00000000  00000000  00025f80  2**0
>                   CONTENTS, READONLY
>  18 .debug_ranges 000000c8  00000000  00000000  000260e8  2**0
>                   CONTENTS, READONLY, DEBUGGING

It might be worth exploring this...

   Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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