[ECOS] problems with arm-elf-ld

Jonathan Larmour jlarmour@redhat.com
Wed Mar 21 08:07:00 GMT 2001


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



More information about the Ecos-discuss mailing list