_syscall5 in include/asm/unistd.h

Helmut Geyer (Helmut.Geyer@IWR.Uni-Heidelberg.De)
Sat, 8 Jul 1995 21:33:15 +0200 (MET DST)


The unistd.h header in asm-i386 defines _syscall5 without taking care
of PIC problems. As far as I understand it, a _syscall5 isn't possible
when compiling with -fpic on an intel processor (please
correct me if I'm wrong).
I think the only affected syscall is llseek, so it does not happen
very often.
The libc header i386/syscall.h does not define _syscall5 when PIC is defined.
Shouldn't this be the done in the same way in the asm-i386 headers?

Helmut

------------------------------------------------------------------------------
Helmut Geyer Helmut.Geyer@iwr.uni-heidelberg.de