This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: correction in hal/arm/arch/current/src/vectors.s
- To: Ilko Iliev <iliev at caretec dot at>
- Subject: Re: [ECOS] correction in hal/arm/arch/current/src/vectors.s
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 24 Jan 2001 19:04:22 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <4.3.2.7.2.20010124102534.00b75b88@mbox>
Ilko Iliev wrote:
>
> I try to run the last snapshot of eCos and I found the following problem:
>
> The init_flag is of address 0x2022bcd (AT91EB01 target) and it stay in the loop
> 1: cmp r1,#0
> bne 1b
> because init_flag was false read - it's a long variable and the address is
> not aligned.
I've made this change anyway because it's harmless, but this hasn't shown
up elsewhere because what really should have happened is that the .data
section should have been set to the appropriate alignment in the Memory
Layout Tool description for your target platform.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine