public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* sysdeps/unix/sysv/linux directory structure question
@ 2016-11-03 17:48 Steve Ellcey
  2016-11-03 18:01 ` Joseph Myers
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Ellcey @ 2016-11-03 17:48 UTC (permalink / raw)
  To: libc-alpha

I am looking at some of the consolidation patches that Yury Norov and
Adhemerval Zanella have submitted and I was wondering if anyone could
help clarify the structure of sysdeps/unix/sysv/linux for me.

Basically we have some functions defined directly in this directory and
there is also a wordsize-64 directory, presumably for <name>64 versions
of those functions.

But there is also a generic directory and some files (send.c) are
defined in the linux directory and in the linux/generic
directory.  Also the generic directory has a wordsize-32 subdirectory
(but not a wordsize-64 one).

So I have several questions.  What is the difference between
sysdeps/unix/sysv/linux and sysdeps/unix/sysv/linux/generic and why
are some files in one vs. the other vs. both?   Is generic only for 64-
bit kernels?  Is that why it has a wordsize-32 subdirectory?  Are
functions transitioning (or supposed to be transitioning) from one
directory to another?

I did look at the hierarchy convention in the glibc manual (D.2.1
Layout of the sysdeps Directory Hierarchy) but that did not help
me with these questions.

Steve Ellcey
sellcey@caviumnetworks.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-03 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-03 17:48 sysdeps/unix/sysv/linux directory structure question Steve Ellcey
2016-11-03 18:01 ` Joseph Myers
2016-11-03 18:12   ` Steve Ellcey
2016-11-03 18:32     ` Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).