[lkml]   [2000]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
arch/i386/kernel/apm.c and pci-pc.c use the lcall instruction
(call far indirect) for invoking BIOS services.
The following syntax is used:

(apm) lcall %cs:apm_bios_entry
(pci-pc) lcall (%edi)

This works ok with binutils 2.9.5, but binutils
(gas 2.10.90) as shipped with RedHat 7.0 complains:

Warning: indirect lcall without `*'

To keep gas 2.10.90 happy one can insert the * prefix:

(apm) lcall *%cs:apm_bios_entry
(pci-pc) lcall *(%edi)

but older binutils like 2.9.5 treat these as syntax errors. Sigh.

So how do we want to handle this?
- ignore the warnings? (yuck; I hate compiler/assembler warnings)
- specify as the minimum binutils for 2.4 kernels?
if we're going to do it, we should do it NOW, before the real
2.4.0 is released

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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