In message <[EMAIL PROTECTED]>,Harald Barth writes:
>probe a Linux system for the size of the pointers in the syscall
>table. Either it just happens to work because the sizes are right or

this is bit different on the ia64.  the kernel is built with a 'fixed
gp' and modules have a 'dynamic gp'.  the syscall table is a list of
pointers.  however, c routines turn out to be function descriptors
with a pointer and a gp.  so you need to have a stub that gets called
by syscall that can setup the modules gp and then call the c routine.
i have some code to do this in afs already but its not very pretty.
someone has sent me a better way to do it, but i havent gotten around
to making the changes.
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to