* binutils/gas problem with 'lcall'
@ 2000-11-01 21:44 Mikael Pettersson
2000-11-01 21:53 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Pettersson @ 2000-11-01 21:44 UTC (permalink / raw)
To: linux-kernel
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 2.10.0.18
(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 2.10.0.18 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
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: binutils/gas problem with 'lcall'
2000-11-01 21:44 binutils/gas problem with 'lcall' Mikael Pettersson
@ 2000-11-01 21:53 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2000-11-01 21:53 UTC (permalink / raw)
To: Mikael Pettersson; +Cc: linux-kernel
> 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)
Correct ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-01 21:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-01 21:44 binutils/gas problem with 'lcall' Mikael Pettersson
2000-11-01 21:53 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®