* [ECOS] correction in hal/arm/arch/current/src/vectors.s
@ 2001-01-24 1:42 Ilko Iliev
2001-01-24 11:04 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: Ilko Iliev @ 2001-01-24 1:42 UTC (permalink / raw)
To: ecos-discuss
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.
Than I have correct
init_flag:
.long 0
to
init_flag:
.balign 4
.long 0
and it's working :-)
Ilko
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] correction in hal/arm/arch/current/src/vectors.s
2001-01-24 1:42 [ECOS] correction in hal/arm/arch/current/src/vectors.s Ilko Iliev
@ 2001-01-24 11:04 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-01-24 11:04 UTC (permalink / raw)
To: Ilko Iliev; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-24 11:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 1:42 [ECOS] correction in hal/arm/arch/current/src/vectors.s Ilko Iliev
2001-01-24 11:04 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).