From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Ilko Iliev Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] correction in hal/arm/arch/current/src/vectors.s Date: Wed, 24 Jan 2001 11:04:00 -0000 Message-id: <3A6F2736.572256CF@redhat.com> References: <4.3.2.7.2.20010124102534.00b75b88@mbox> X-SW-Source: 2001-01/msg00407.html 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