Skip to contentSkip to conversation

2.5.8-pre1 binutils-related regression on x86

PATCH Mikael Pettersson 2 participants 2 messages Apr 4, 2002

lore
Share & tools
lore
#0 lore raw

2.5.8-pre1 includes the following patch:

arch/i386/boot/setup.S +1 -1
diff -Nru a/arch/i386/boot/setup.S b/arch/i386/boot/setup.S
@@ -544,7 +544,7 @@
 	cmpw	$0, %cs:realmode_swtch
 	jz	rmodeswtch_normal
 
-	lcall	*%cs:realmode_swtch
+	lcall	%cs:realmode_swtch
 
 	jmp	rmodeswtch_end
 

The "*" was put there early in the 2.5 series, to allow non- antique binutils to assemble the code cleanly without warnings. This patch reintroduces those warnings. Uncool.

/Mikael

#1 lore raw
Quoted 8 lines · Mikael Pettersson
arch/i386/boot/setup.S +1 -1
-	lcall	*%cs:realmode_swtch
+	lcall	%cs:realmode_swtch
 
 	jmp	rmodeswtch_end

The "*" was put there early in the 2.5 series, to allow non- antique binutils to assemble the code cleanly without warnings. This patch reintroduces those warnings. Uncool.

GAR!, my bad. Most of the silly bits seem to stem from early 2.5 merges, hopefully there's not too many more sillies.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs