Messages in this thread | | | Date | Tue, 23 Jun 1998 14:07:52 -0400 (EDT) | From | Alex Buell <> | Subject | v2.1.106 and binutils-2.9.1.0.6 oddity (built with egcs 1.0.3a) |
| |
Hi guys,
Some of you might remember that I posted that I was having problems building process.c in arch/i386/kernel with the above tools. I've had the opportunity to investigate further and here's my output:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486 -S process.c -o process.S
At this point, egcs seems to assemble it out to a .S file correctly. Now if I either use gcc or as to generate the object file:
as process.S -o process.o
It comes back with process.S: Assembler messages: process.S:632: Error: operands given don't match any known 386 instruction
On going to view the process.S file, here's the snippet:
movl 20(%esp),%ecx) #APP movw 24(%esp),0(%ecx) <-- line 632 movw %ax,2(%ecx) rorl $16,%eax movb %al,4(%cx)
The corresponding part in process.c is copy_segments(). Any ideas what it is doing wrong here?
Cheers, Alex -- /\_/\ Legalise cannabis now! ( o.o ) Smoke some cannabis today! > ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |