Skip to contentSkip to conversation

patch for 2.6.x adeos

Adeos-main Applied Rus V. Brushkoff 2 participants 2 messages Jun 10, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw
	Hi.

This needed to compile adeos with recent binutils.

Rus

usr/src/linux-2.6.11-adeos.curr/adeos/x86.c renamed from x86.c +2 -2
@@ -120,7 +122,7 @@
 	"addl $4,%esp\n\t" \
 	"iret\n" \
 "2:      movl ("SYMBOL_NAME_STR(__adeos_std_vector_table + 4 * trapnr)"),%eax\n\t" \
-	"movl 8(%esp),%es\n\t" \
+	"mov 8(%esp),%es\n\t" \
 	"movl %eax,8(%esp)\n\t" \
 	"popl %eax\n\t" \
 	"popl %ds\n\t" \
@@ -167,7 +169,7 @@
 	"addl $4,%esp\n\t" \
 	"iret\n" \
 "2:      movl ("SYMBOL_NAME_STR(__adeos_std_vector_table + 4 * trapnr)"),%eax\n\t" \
-	"movl %eax,12(%esp)\n\t" \
+	"mov %eax,12(%esp)\n\t" \
 	"popl %eax\n\t" \
 	"popl %ds\n\t" \
 	"popl %es\n\t" \
#1 lore raw
Quoted 3 lines · Rus V. Brushkoff
	Hi.

This needed to compile adeos with recent binutils.

Applied, thanks.

Quoted 27 lines

Rus

------------------------------------------------------------------------

usr/src/linux-2.6.11-adeos.curr/adeos/x86.c renamed from x86.c +2 -2
@@ -120,7 +122,7 @@
 	"addl $4,%esp\n\t" \
 	"iret\n" \
 "2:      movl ("SYMBOL_NAME_STR(__adeos_std_vector_table + 4 * trapnr)"),%eax\n\t" \
-	"movl 8(%esp),%es\n\t" \
+	"mov 8(%esp),%es\n\t" \
 	"movl %eax,8(%esp)\n\t" \
 	"popl %eax\n\t" \
 	"popl %ds\n\t" \
@@ -167,7 +169,7 @@
 	"addl $4,%esp\n\t" \
 	"iret\n" \
 "2:      movl ("SYMBOL_NAME_STR(__adeos_std_vector_table + 4 * trapnr)"),%eax\n\t" \
-	"movl %eax,12(%esp)\n\t" \
+	"mov %eax,12(%esp)\n\t" \
 	"popl %eax\n\t" \
 	"popl %ds\n\t" \
 	"popl %es\n\t" \
Signature · 1 line
Philippe.