Small fix for 2.1.98 compilation with recent gas versions

riffraff@kdi.com
Thu, 30 Apr 1998 17:01:37 -0500


This is a tiny fix so that 2.1.98 will compile when using binutils 2.9.1.0.2+.
Apparently gas had been silently fixing this minor problem, whereas the newer
versions complain about it and terminate.

--- linux/arch/i386/kernel/entry.S.OLD Tue Apr 28 04:15:30 1998
+++ linux/arch/i386/kernel/entry.S Tue Apr 28 04:18:45 1998
@@ -155,7 +155,7 @@
jae badsys
testb $0x20,flags(%ebx) # PF_TRACESYS
jne tracesys
- call SYMBOL_NAME(sys_call_table)(,%eax,4)
+ call *SYMBOL_NAME(sys_call_table)(,%eax,4)
movl %eax,EAX(%esp) # save the return value
ALIGN
.globl ret_from_sys_call
@@ -193,7 +193,7 @@
movl $-ENOSYS,EAX(%esp)
call SYMBOL_NAME(syscall_trace)
movl ORIG_EAX(%esp),%eax
- call SYMBOL_NAME(sys_call_table)(,%eax,4)
+ call *SYMBOL_NAME(sys_call_table)(,%eax,4)
movl %eax,EAX(%esp) # save the return value
call SYMBOL_NAME(syscall_trace)
jmp ret_from_sys_call

-- 
Shawn McHorse      |        The Musical World of Rocky Horror
riffraff@kdi.com   |   (Obscure Distorted Instruments and Imagery)
Austin RHPS Cast   |         <http://www.kdi.com/~riffraff/>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu