Re: Linux-2.1.4..

Michael Stiller (michael@toyland.ping.de)
Tue, 15 Oct 1996 20:41:13 +0200

Hi Linux, Hi all,

i get the following during the 2.1.4 compile:

---
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 =

-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=3D2 =

-malign-jumps=3D2 -malign-functions=3D2 -DCPU=3D586 -c -o info.o info.c {standard input}: Assembler messages: {standard input}:80: Error: register does not match opcode suffix {standard input}:83: Error: register does not match opcode suffix {standard input}:84: Error: register does not match opcode suffix {standard input}:87: Error: register does not match opcode suffix make[2]: *** [info.o] Error 1 make[2]: Leaving directory `/usr/src/linux/kernel'

---
The offending code looks like: (snippet from info.S)

=2EL640: movl $16,%ecx movl 88(%esp),%edi movl %ebx,%esi movl 16(%esp),%eax #APP movl $3f,%edx incl 984(%eax) rep; movsl testb $2,%bp ^^^^^ je 1f movsw subb $2,%bp ^^^^ 1: testb $1,%bp ^^^^^ je 2f movsb decb %bp ^^^^ 2: decl 984(%eax) 3: lea 0(%ebp,%ecx,4),%edx #NO_APP =2EL639: xorl %eax,%eax ----

The ^marked^ Mnemonics should be word-wide i.e. testw i guess. I use gcc 2.7.2 here and binutils 2.7. My gcc.2.7.2 Version is _not_ patched to 2.7.2-1 or someting.

What ist wrong here ?

-Michael

-- =

x(f,s,c)char *s;{return f&1 ? *s ? *s-c ? x(f,++s,c) :7[s]:0:f&2 =

? x(--f,"!/*,xq-ih9]c$=3Dle&M t)r\nm@p31n%ag.8}Sdoy",c):f&4 ? *s ? =

x(f,s+1,putchar(x(f-2,"^&%!*)",*s))) : 0 : 0;}main(){return x(4, "]!x/mhicn$!iihle&!x/mhiM$agimr%p !r@p%he&!x/mhiM !r@p%he",65);}

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices