lkml.org 
[lkml]   [1998]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[ERROR-2.1.120] APM compilation fails
From

Hi

APM compilation fails under 2.1.120 w/ quite old binutils [I
know I am to blame here, but just FYI]. It complains in statements
like this [compiled to assembler apm_bios.c]:

#APP
pushfl
cli
pushl %ds
pushl %es
> movw %ebx, %ds
> movw %ebx, %es
> movw %ebx, %fs
> movw %ebx, %gs
lcall %cs:apm_bios_entry
movl $0, %edi
jnc 1f
movl $1, %edi
1: popl %es
popl %ds
popfl

With errors [a lot more]:

/tmp/apm.s:193: Error: operands given don't match any known 386 instruction
/tmp/apm.s:194: Error: operands given don't match any known 386 instruction
/tmp/apm.s:195: Error: operands given don't match any known 386 instruction
/tmp/apm.s:196: Error: operands given don't match any known 386 instruction

Kernel 2.1.120, Debian 1.3.1 gcc 2.7.2.1, binutils
cygnus-2.7.1 (with BFD 2.7.0.9).

Cheers

--

Linux-USB! http://peloncho.fis.ucm.es/~inaky/USB.html -
-
Inaky Perez Gonzalez -- PGP pubkey fingerprint -
inaky@peloncho.fis.ucm.es -- 8E 34 3A 62 64 99 E2 44 -
http://peloncho.fis.ucm.es/~inaky -- AD 7B 30 D9 DD FF 3E 4C -
--------------------------------- -- ----------------------- -
The loneliness of the long distance runner .....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.037 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site