Skip to contentSkip to conversation

2.4.16 Compiler warning

DISCUSSION Mikael Pettersson 2 participants 2 messages Nov 28, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Kai Germaschewski
Quoted 6 lines · Mike Black

This appears to be a non-fatal warning....does this need to be cleaned up? [...]
{standard input}: Assembler messages:
{standard input}:1107: Warning: indirect lcall without *' {standard input}:1192: Warning: indirect lcall without *' [...]

I believe this cannot be cleaned up in 2.4 because it breaks older binutils. However, what about the appended patch for 2.5?

Kai's patch is almost identical to what I've been applying to every 2.3/2.4 kernel for the last year, ever since RedHat included a newer binutils which printed these "indirect lcall without `*'" warnings.
My patch kit also fixes an occurrence in bootsect.S -- see below.

This really ought to go into 2.5 ASAP, IMHO.

/Mikael

arch/i386/boot/bootsect.S renamed from arch/i386/boot/bootsect.S.~1~ +1 -1
@@ -236,7 +236,7 @@
 rp_read:
 #ifdef __BIG_KERNEL__			# look in setup.S for bootsect_kludge
 	bootsect_kludge = 0x220		# 0x200 + 0x20 which is the size of the
-	lcall	bootsect_kludge		# bootsector + bootsect_kludge offset
+	lcall	*bootsect_kludge	# bootsector + bootsect_kludge offset
 #else
 	movw	%es, %ax
 	subw	$SYSSEG, %ax
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line

This appears to be a non-fatal warning....does this need to be

cleaned up?

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

[...]
{standard input}: Assembler messages:
{standard input}:1107: Warning: indirect lcall without *' {standard input}:1192: Warning: indirect lcall without *'

IIRC I've had them since 2.0.33 I started dealing with Linux...