after I added CFLAGS += -save-temps in /usr/src/linux-2.1.xx/arch/i386/kernel/Makefile
>make
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -save-temps -DEXPORT_SYMTAB -c i386_ksyms.c
gcc: Warning: -pipe ignored since -save-temps specified
gcc -D__KERNEL__ -I/usr/src/devel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -save-temps -c -o process.o process.c
gcc: Warning: -pipe ignored since -save-temps specified
process.s: Assembler messages:
process.s:614: Error: operands given don't match any known 386 instruction
make[1]: *** [process.o] Error 1
make[1]: Leaving directory `/usr/src/devel/linux/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2
I found:
#APP
614: movw 24(%esp),0(%ecx)
movw %ax,2(%ecx)
rorl $16,%eax
movb %al,4(%ecx)
movb $130,5(%ecx)
movb $0,6(%ecx)
movb %ah,7(%ecx)
rorl $16,%eax
suggestions ?
a compiler or gas bug ?
I don't know much about Intel Assembler.
-- mit freundlichem Gruss -- regards ,-, | | Thomas Drillich <drillich@uniserve.de> ___|__| Gesch�ftsf�hrer (___, ) uniserve Internet & Multimedia GmbH (___, )\ Sophienweg 3 (___, ) \ Technologiezentrum (MIT) (___,_,)/ \ D-59872 Meschede Germany \ fon: +49 291 59100 , fax: +49 291 59102- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu