From mboxrd@z Thu Jan 1 00:00:00 1970 From: chas williams Date: Tue, 03 Jul 2001 20:53:56 +0000 Subject: Re: [Linux-ia64] patching sys_call_table from a module Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org >where the first element truly points to the function and the second >element contains the GP value for the function. ok. i see. so i can now set the syscall table to the 'real' location for the afs_syscall routine. however, i still run into trouble when invoking the syscall: >>IP; a000000000034250 <[mysyscall].text.end+11/31> <==>>b0; a0000000000340e0 <[mysyscall].text.start+20/40> >>b6; e000000004402f60 >>b7; e0000000044157b0 Trace; e00000000441a080 Trace; e00000000441a840 Trace; e00000000442b830 Trace; e000000004443fc0 Trace; e000000004415d00 Trace; a000000000034250 <[mysyscall].text.end+11/31> Trace; a0000000000340e0 <[mysyscall].text.start+20/40> Trace; a0000000000340e0 <[mysyscall].text.start+20/40> i suspect that my afs_syscall() is trying to use the 'gp' which is probably not setup?