> afs_syscall is going to be gp (module space) relative.  you need to write
> afs_syscall so that it is not going to be gp (module space) relative and
will
> be resolved by the insmod when the module is loaded.  this would then
work.

Thanks for the explanation Chas. I see the point. The Itanium Runtime
Architecture Guide also talks about putting putting data in the text
segment to make it independent of the gp. I understand this a lot
better now.

> btw, i think ((long)(fptr))[1] is the gp, not ((long)(fptr))[0].
Yeah, right.

Srikanth.

_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to