Re: [PATCH] binutils-2.16.90.0.3: can't compile 2.4.30

From: Herbert Rosmanith
Date: Mon May 23 2005 - 06:27:36 EST


> bash-2.05# cat test.nasm
>
> bits 32
> section .text
>
> mov eax,ds
> mov ds,eax

> of course, it's still not possible to move 32 bits into a segreg,
> so what? the processor will silently ignore the upper word, I guess.

oops ... as doesn't complain about that either .... the error is produced
when moving a segreg to a 32bit memory location, e.g.:

(nasm)
mov ds,long [ebx]
(as)
#APP
movl %ds,636(%ebx)
movl %gs,640(%ebx)
#NO_APP

neither nasm nor as do like that. I wonder which code the previous
binutils produced in that case?

sorry for the superfluos posting, I really should brush up on my assembly;-)
the consequence still is to apply the patches to the kernel.

best regards,
herbert rosmanith

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/