This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problems with arm-elf-ld
- To: rajeev50 at lycos dot com
- Subject: Re: [ECOS] problems with arm-elf-ld
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 21 Mar 2001 16:06:18 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <OMGLJIEOAAOLEAAA@mailcity.com>
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