[RFC PATCH] Kill some duplication between 64-bit linux arches

Ulrich Drepper drepper@redhat.com
Tue Mar 23 19:38:00 GMT 2004


This patch is not valid under current assumptions.  INLINE_SYSCALL is a
Linux-ism.  It cannot be used in sysdeps/wordsize-64 which is a generic
directory.  The problem is that what is a syscall on Linux need not
necessarily by a syscall equivalent on other OSes.  Hurd, for instance,
has read() as a normal function in libc IIRC.

Maybe creating sysdeps/unix/sysv/linux/wordsize-64, moving the new files
there, and requiring that directory for all 64-bit archs on Linux will work.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-hacker mailing list