[RFC PATCH] Kill some duplication between 64-bit linux arches
Roland McGrath
roland@redhat.com
Tue Mar 23 19:43: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.
Correct.
> 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.
If these are useful e.g. for the GNU/*BSD ports, then there could be a
purpose-specific directory such as sysdeps/unix/inline-syscall/wordsize-64.
More information about the Libc-hacker
mailing list