This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]