Ver 2.0.25 - file time.c = assembler error !!!!!!!

Ver 2.0.25 - file time.c = assembler error !!!!!!!

Post by Andrea M. Zoi » Sun, 10 Nov 1996 04:00:00



In source file linux/arch/i386/kernel/time.c of Linux 2.0.25
someone has added the lines :

__asm__ __volatile__ (" movl $0x83, %%ecx \n \                                                             rdmsr \n \                                                      
orl $1,%%eax \n \                                                       wrmsr \n
"                                                                : : :
"ax", "cx", "dx" );              

and my GNU assembler does not recognize the opcodes
rdmsr and wrmsr. To comple Linux rel 2.0.25 i have commented this
__asm__ directive out.

Someone knows more about this problem??

Bye.

 
 
 

Ver 2.0.25 - file time.c = assembler error !!!!!!!

Post by Ingo Molna » Mon, 11 Nov 1996 04:00:00



: In source file linux/arch/i386/kernel/time.c of Linux 2.0.25
: someone has added the lines :

: __asm__ __volatile__ (" movl $0x83, %%ecx \n \                                                           rdmsr \n \                                                      
: orl $1,%%eax \n \                                                     wrmsr \n
: "                                                                : : :
: "ax", "cx", "dx" );            

: and my GNU assembler does not recognize the opcodes
: rdmsr and wrmsr. To comple Linux rel 2.0.25 i have commented this
: __asm__ directive out.

: Someone knows more about this problem??

oops. Upgrade your binutils package or just get rid of that line. It affects
only K5 users. You need a new version of 'as' which knows that particular
instruction.

-- mingo

 
 
 

Ver 2.0.25 - file time.c = assembler error !!!!!!!

Post by Andrea M. Zoi » Mon, 11 Nov 1996 04:00:00


Thank you Ingo.