[PATCH] pread/pwrite fix for s390-64.

Jakub Jelinek jakub@redhat.com
Mon Mar 3 10:23:00 GMT 2003


On Mon, Mar 03, 2003 at 11:18:29AM +0100, Martin Schwidefsky wrote:
> 
> > > Without the special version for pwrite64 I get an undefined reference
> > > to '__GI___pwrite64'. The alias for pwrite64 in syscalls.list doesn't
> > > seem to create an alias for __GI__pwrite64. This is the immediate
> > > problem I am facing.
> >
> > That should not be happening.  It should produce a weak_alias and
> > libc_hidden_weak for each of those names.
> 
> It does happen for s390-64. But this is a problem for itself. The pread/pwrite
> problem for s390-64 will not be solved by it. The pread/pwrite functions can't
> stay as direct system calls because the cancellation would be missing. The

That's what C is for in syscalls.list argument string for the syscalls.

	Jakub



More information about the Libc-hacker mailing list