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: problems with arm-elf-ld


Rajeev murthy wrote:
> 
> hi,
>      i am working on an ARM7 board on a linux host. i am required to change the memory layout as per my board layout.
>   My RAM area starts from 0x80000 and ROM starts from 0x0. But when i make these changes in hal/arm/pid/v1_3_1/include/pkgconf/ , i am not able to build the files in examples directory (hello.c).
>  Make fails with the following errors:
> 1./tools/H-i686-pc-linux-gnu/arm-elf/bin/ld:
>     address 0xe60 of hello section .data is not within region ram.
> 2./tools/H-i686-pc-linux-gnu/arm-elf/bin/ld:
>     address 0x4af0 of hello section .bss is not within region ram.

You have to change both the properties of the memory region "ram" *and* the
absolute addresses of any sections.... in this case, look at the properties
of .data it seems.

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


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