glibc/sysdeps/unix/sysv/linux
Luis Machado f47c9a11ad powerpc: Re-work the Implies structure
This patch tries to organize the implies files for ppc, since there are
a number of processors and most of them are compatible with each other
(backwards compatible).

Having in mind that we start the search for processor-specific files in
the sysdeps/unix/sysv/linux tree
(sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be
exact), we would like to grab any linux-specific code from that tree
prior to going through the other tree (sysdeps/powerpc/...).

For that, i removed the Implies files that were originally inside the
fpu directories and placed then in the non-fpu directories (still inside
the unix/sysv/linux tree). If no processor-specific/linux-specific files
could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu
directory for that specific processor AND also the non-fpu directory for
that same tree.

If, again, no processor-specific code is found, we read another Implies
file that will point to the most compatible processor that we should
grab code from, and so on, until we reach the power4 processor.

So, in summary, the Implies files will live inside these directories
now:

* sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]
* sysdeps/powerpc/powerpc[32|64]/[processor]

Practical example of the order we will use to pick power6-specific code
with the new structure.

sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power5+/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5+ ->
sysdeps/powerpc/powerpc[32|64]/power5/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5 ->
sysdeps/powerpc/powerpc[32|64]/power4/fpu ->
sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the
generic path as usual)
2010-06-30 09:57:38 -07:00
..
bits Define MSG_WAITFORONE. 2010-03-29 22:31:44 -07:00
i386 Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
ia64 Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
net Add 802.15.4 definitions to header files. 2009-06-18 07:52:38 -07:00
netash
netatalk
netax25
neteconet
netinet
netipx
netiucv * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
netpacket
netrom
netrose
nfs
powerpc powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
s390 Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
scsi
sh Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
sparc Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
sys Make <sys/timex.h> compatible with C++ 2010-05-21 11:45:17 -07:00
wordsize-64 Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
x86_64 Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
_exit.c
a.out.h
accept4.c Implement accept4 for more archs using socketcall. 2009-05-22 08:25:34 -07:00
accept.S
adjtime.c * sysdeps/unix/sysv/linux/adjtime.c: Correctly use 2008-03-24 16:11:32 +00:00
aio_sigqueue.c
bind.S
check_native.c * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>. 2007-11-24 03:12:25 +00:00
check_pf.c * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix 2008-01-03 00:25:03 +00:00
clock_getcpuclockid.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
clock_getres.c Add support for new clocks. 2010-03-25 04:01:33 -07:00
clock_gettime.c Add support for new clocks. 2010-03-25 04:01:33 -07:00
clock_nanosleep.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
clock_settime.c Add support for new clocks. 2010-03-25 04:01:33 -07:00
clock.c
cmsg_nxthdr.c * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change 2008-01-16 19:47:17 +00:00
configure configure tweaks, support $libc_add_on_config_subdirs 2009-09-15 14:14:42 -07:00
configure.in Don't automatically use /lib/modules/* headers. 2009-07-24 13:01:17 -07:00
connect.S
device-nrs.h
dl-brk.c
dl-execstack.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
dl-librecon.h
dl-origin.c * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all 2008-08-14 17:11:07 +00:00
dl-osinfo.h * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline 2009-04-26 20:12:37 +00:00
dl-sbrk.c
dl-sysdep.c Don't take the address of a void object. 2010-03-26 09:16:21 -07:00
dl-sysdep.h Don't declare _dl_discover_osversion only for older kernels. 2008-07-24 18:03:17 +00:00
dl-vdso.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
dl-vdso.h * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
epoll_pwait.c [BZ #4514] 2007-05-21 18:23:50 +00:00
errqueue.h
eventfd_read.c * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use 2007-10-09 03:56:53 +00:00
eventfd_write.c * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use 2007-10-09 03:56:53 +00:00
eventfd.c Compatibility of signalfd/eventfd with older kernels. 2009-07-26 12:55:03 -07:00
execve.c
exit-thread.S
faccessat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fallocate64.c Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
fallocate.c * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. 2009-04-15 17:10:28 +00:00
fatal-prepare.h * sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the 2007-01-17 08:37:26 +00:00
fchmodat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fchownat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fcntl.c Fix F_GETOWN on some Linux archs. 2009-10-29 10:12:59 -07:00
fd_to_filename.h
fexecve.c
fpathconf.c [BZ #5778] 2008-03-08 01:57:18 +00:00
fstatfs64.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
fstatvfs64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
fstatvfs.c
ftime.c
ftruncate64.c * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation 2006-02-23 22:34:40 +00:00
futimens.c Handle AT_FDCWD in futimens. 2009-12-21 14:08:05 -08:00
futimes.c * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define 2007-05-28 16:43:59 +00:00
futimesat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fxstat64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
fxstat.c
fxstatat64.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fxstatat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
gai_sigqueue.c
getclktck.c
getcwd.c [BZ #2418] 2006-04-02 17:59:59 +00:00
getdents64.c
getdents.c * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. 2007-01-17 11:42:36 +00:00
getdirentries64.c
getdirentries.c
getdtsz.c
gethostid.c Don't define OLD_HOSTIDFILE and don't try to open it. The patch introducing the macro contained a bug and used the same file name as the new file instead of using /var/adm/hostid. Nobody complaint so I'm taking this out completely. 2006-08-03 08:49:48 +00:00
getipv4sourcefilter.c
getloadavg.c
getlogin_r.c More fixes to error handling in getlogin_r. 2010-06-21 07:57:12 -07:00
getlogin.c Fix error handling in Linux getlogin*. 2010-06-19 09:54:28 -07:00
getpagesize.c Optimize __getpagesize a bit. 2010-03-27 06:19:50 -07:00
getpeername.S
getpriority.c
getpt.c Fix errno handling in posix_openpt. 2009-10-29 11:27:53 -07:00
getsockname.S
getsockopt.S
getsourcefilter.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
getsysstats.c Remove incorrect paring of /proc/stat etc. 2010-04-03 19:20:29 -07:00
grantpt.c Avoid local PLTs. 2009-11-24 18:47:26 -08:00
if_index.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
ifaddrs.c Fix changes to interface list during getifaddrs calls. 2010-04-03 20:36:59 -07:00
ifreq.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
Implies
init-first.c * csu/libc-start.c: Don't handle VDSO_SETUP here. 2007-08-20 22:36:43 +00:00
internal_accept4.S Implement accept4 for more archs using socketcall. 2009-05-22 08:25:34 -07:00
internal_recvmmsg.S Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
internal_statvfs64.c
internal_statvfs.c Fix one left over from last change to statvfs. 2010-03-07 18:22:52 -08:00
ipc_priv.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
kernel-features.h Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
kernel-posix-cpu-timers.h
ldd-rewrite.sed
lddlibc4.c Don't treat bug reporting message as a format string. 2009-06-16 20:34:55 -07:00
ldsodefs.h Extended ELF ABI version handling only for Linux. 2010-03-16 23:34:59 -07:00
libc_fatal.c Preserve message printed before abort. 2009-06-15 16:17:09 -07:00
linkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
linux_fsinfo.h Handle ext4 and logfs in statvfs functions. 2010-03-06 15:40:50 -08:00
listen.S
llseek.c
local-setxid.h * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and 2006-06-04 22:17:06 +00:00
lseek64.c
lutimes.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
lxstat64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
lxstat.c
makedev.c
Makefile Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
mkdirat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
mmap64.c Fix build of mmap64. 2010-03-31 14:07:39 -07:00
mq_close.c
mq_getattr.c
mq_notify.c
mq_open.c * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
mq_receive.c
mq_send.c
mq_unlink.c
msgctl.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
msgget.c
msgrcv.c [BZ #2883] 2006-08-03 15:41:32 +00:00
msgsnd.c
netlinkaccess.h * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
nice.c
not-cancel.h * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. 2006-07-31 05:58:51 +00:00
nscd_setup_thread.c [BZ #5382] 2007-11-23 06:37:58 +00:00
ntp_gettime.c Update ntp_gettime for Linux. 2009-11-22 11:07:04 -08:00
ntp_gettimex.c Update ntp_gettime for Linux. 2009-11-22 11:07:04 -08:00
open64_2.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
open64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
open_2.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
openat64.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
openat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
opendir.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
opensock.c * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use 2008-07-25 18:16:57 +00:00
pathconf.c [BZ #5778] 2008-03-08 01:57:18 +00:00
pathconf.h [BZ #5778] 2008-03-08 01:57:18 +00:00
paths.h [BZ #9955] 2009-04-23 18:29:30 +00:00
poll.c * stdio-common/tst-fmemopen2.c (do_test): Add a cast. 2006-01-08 08:24:11 +00:00
posix_fadvise64.c
posix_fadvise.c
posix_fallocate64.c * sysdeps/posix/posix_fallocate64.c: Undefine 2007-07-28 18:13:45 +00:00
posix_fallocate.c * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix 2007-07-31 19:33:23 +00:00
posix_madvise.c [BZ #3325] 2007-02-21 19:13:15 +00:00
ppoll.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
pread64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
pread.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
preadv64.c * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 2009-04-08 19:24:34 +00:00
preadv.c * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. 2009-04-23 22:52:24 +00:00
prof-freq.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
profil.c
pselect.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
ptrace.c * sysdeps/unix/sysv/linux/sys/ptrace.h [PTRACE_SETOPTIONS, 2006-09-17 16:06:42 +00:00
ptsname.c Fix kernel version check in recent ptsname change. 2009-12-09 08:34:48 -08:00
pwrite64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
pwrite.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwritev.c * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. 2009-04-23 22:52:24 +00:00
readahead.c [BZ #5208] 2007-10-28 01:08:55 +00:00
readdir64_r.c
readdir64.c
readlinkat.c Fix typo in readlinkat 2009-10-30 14:18:18 +01:00
readonly-area.c
readv.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
reboot.c
recv.S
recvfrom.S
recvmmsg.c Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
recvmsg.S
remove.c Handle POSIX-compliant errno value of unlink in remove. 2010-04-04 02:08:37 -07:00
renameat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
sa_len.c * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
sched_getaffinity.c * resolv/res_debug.c (loc_ntoa): Make error const. 2006-05-15 14:42:59 +00:00
sched_getcpu.c [BZ #4306] 2007-04-28 04:03:38 +00:00
sched_setaffinity.c * sysdeps/unix/sysv/linux/sched_setaffinity.c 2007-05-10 23:38:55 +00:00
segfault.c
semctl.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
semget.c
semop.c
semtimedop.c
send.S
sendmsg.S
sendto.S
setegid.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
seteuid.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
setgid.c
sethostid.c
setipv4sourcefilter.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setsockopt.S
setsourcefilter.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
setuid.c
shm_open.c (shm_open): Fix typo in last change. 2007-08-10 23:21:18 +00:00
shm_unlink.c
shmat.c
shmctl.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
shmdt.c
shmget.c
shutdown.S
sigaction.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
siglist.h
signal.c
signalfd.c Compatibility of signalfd/eventfd with older kernels. 2009-07-26 12:55:03 -07:00
sigpending.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
sigprocmask.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigstack.c
sigsuspend.c * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. 2006-07-31 05:58:51 +00:00
sigtimedwait.c
sigwait.c
sigwaitinfo.c
sizes.h
sleep.c
socketcall.h Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
socketpair.S
speed.c
statfs64.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
statvfs64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
statvfs.c
symlinkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
sync_file_range.c Fix sync_file_range on ppc/ppc64. 2009-11-17 18:04:51 -08:00
syscalls.list Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
sysconf.c * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): 2009-02-24 23:34:08 +00:00
sysctl.c
syslog.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store 2006-05-10 19:32:07 +00:00
tcgetpgrp.c
tcsetattr.c
tcsetpgrp.c
termio.h
testrtsig.h * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
time.c
times.c * nscd/Makefile (nscd-cflags): Set back to -fpie. 2008-04-22 15:53:59 +00:00
truncate64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
tst-clone.c .. 2009-01-23 20:41:36 +00:00
tst-getcpu.c * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid. 2007-05-12 21:06:31 +00:00
ttyname_r.c * nis/nis_subr.c (nis_getnames): Revert last change. 2006-12-05 21:28:15 +00:00
ttyname.c Fix getttyname on Linux when called for different devices. 2009-10-29 11:02:34 -07:00
ualarm.c
ulimit.c [BZ #6947] 2008-10-31 17:29:46 +00:00
umount2.S
umount.S
unlinkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
unlockpt.c
updwtmp.c
usleep.c
ustat.c
utimensat.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
utimes.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
utmp_file.c
Versions Add recvmmsg interface. 2009-12-08 20:10:46 -08:00
vfork.c
wait3.c
wait.c
waitid.c
waitpid.c
writev.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
xmknod.c
xmknodat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
xstat64.c * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00
xstat.c
xstatconv.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
xstatconv.h * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in 2006-01-08 08:21:40 +00:00