lkml.org 
[lkml]   [2005]   [May]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromHerbert Rosmanith <>
SubjectRe: [PATCH] binutils-2.16.90.0.3: can't compile 2.4.30
DateMon, 23 May 2005 13:25:26 +0200 (MET DST)
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-23 13:29    [from the cache]
©2003-2008