Russel has suggested that I compile the kernel decompression code without
optimistation. For some reason changing the top level CFLAGS (was this the
wrong place to do it) has resulted in the makefile deciding to recompile
everything. Howver, it's spitting out warnings like

gcc -D__KERNEL__ -I/usr/src/linux/include  -mapcs-32 -mshort-load-bytes 
-mcpu=strongarm110 -Wall -Wstrict-prototypes  -pipe   -DEXPORT_SYMTAB -c console.c
{standard input}: Assembler messages:
{standard input}:11238: Warning: destination register same as write-back base

left, right and centre. Such lines look like this:

        1:      ldrbt   r6,[r6],#0

        1:      ldrbt   r4,[r4],#0


I don't recognise the t flag, and I can't remeber what happens with ldr
(ldm, IIRC, does the writeback after the first register load, but all that
might have changed/become undefined with StrongARM) but the instruction as
shown looks very odd - is it a very expensive No-op? Or is it doing something
cunning? Should the #0 be pre-increment instead?
(b.t.w. I get no warnings with -O2, which was what I was using)

Nick
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to