glibc/sysdeps/unix/sysv/linux/powerpc/powerpc32
Joseph Myers 68870f1253 Move some setrlimit definitions to syscalls.list (bug 14138).
Bug 14138 is followup cleanup after removal of support for old Linux
kernel versions: moving syscalls to syscalls.list where the only
reason for using C definitions was kernel version conditionals that
are no longer present.

This patch deals with the case of setrlimit
(sysdeps/unix/sysv/linux/i386/setrlimit.c, included by various other
architectures).  Where needed (where there is also a compat symbol for
setrlimit@GLIBC_2.0), new syscalls.list entries are added.  Where not
needed (where there is no such compat symbol and the minimum symbol
version for libc is 2.2 or later), no such entries are added as that
in sysdeps/unix/syscalls.list will suffice.  Thus arm and sh need no
such entries, while m68k and powerpc need entries only in a
subdirectory syscalls.list file rather than for all configurations
that previously used setrlimit.c.

(setrlimit@@GLIBC_2.2 and setrlimit@GLIBC_2.0 are now semantically
identical - the new symbol version was about a change of types from
signed to unsigned and the former compatibility code for dealing with
large unsigned arguments on old kernels is no longer needed or
present, having been removed with support for pre-2.4 kernels.
However, making the two versions into aliases doesn't work at present:
the case of having both default and non-default symbol versions on the
same syscalls.list line results in a compat_symbol call in code built
for static libc, which doesn't compile.  I don't suppose it would be
hard to generate SHARED conditionals from make-syscalls.sh to fix
this, but in any case this patch doesn't make things any worse, as the
functions weren't aliases before the patch either.)

Tested for x86, and ran ABI tests for ARM as an example of an
architecture where the setrlimit.c file was just removed without
adding syscalls.list entries.

	[BZ #14138]
	* sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
	syscall entry for GLIBC_2.2 symbol version.
	* sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
	(setrlimit): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
	Likewise.
2014-09-23 14:12:50 +00:00
..
405 Move powerpc ports pieces to libc. 2013-10-04 16:02:33 +00:00
440 Move powerpc ports pieces to libc. 2013-10-04 16:02:33 +00:00
464 Move powerpc ports pieces to libc. 2013-10-04 16:02:33 +00:00
476 Move powerpc ports pieces to libc. 2013-10-04 16:02:33 +00:00
970 powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
a2 powerpc: PPCA2/A2 optimized memcpy function 2010-10-24 21:47:33 -04:00
cell powerpc: Re-work the Implies structure 2010-06-30 09:57:38 -07:00
e500/nofpu Add e500 port. 2013-10-18 21:04:22 +00:00
fpu Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
nofpu powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
____longjmp_chk.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
brk.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
c++-types.data powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
clone.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
fcntl.c Update. 2004-06-27 20:48:27 +00:00
ftruncate64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
fxstat.c Update. 2004-03-02 18:51:24 +00:00
fxstatat.c * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
getcontext-common.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getcontext.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
glob64.c Update. 2003-02-17 19:15:42 +00:00
kernel_stat.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ld.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libanl.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libBrokenLocale.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libcrypt.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libdl.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libnsl.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libpthread.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libresolv.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
librt.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libthread_db.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
libutil.abilist powerpc: Consolidate nptl/ subdirectories under linux/.... 2014-06-23 09:40:01 -07:00
lockf64.c Update. 2004-06-27 20:48:27 +00:00
lxstat.c Update. 2004-03-02 18:51:24 +00:00
makecontext.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Add default-abi definitions for powerpc, s390 and sparc. 2012-06-01 21:19:28 +00:00
posix_fadvise64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
posix_fadvise.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pread64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pread.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pwrite64.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
pwrite.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
scandir64.c Use correct scandir64 implementation on ppc64 2011-08-20 08:33:42 -04:00
setcontext-common.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setcontext.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
socket.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swapcontext-common.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
swapcontext.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
syscalls.list Move some setrlimit definitions to syscalls.list (bug 14138). 2014-09-23 14:12:50 +00:00
sysdep-cancel.h PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
sysdep.h Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
truncate64.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ucontext_i.sym * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: 2005-12-29 21:10:34 +00:00
Versions PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. 2014-05-26 11:45:14 -05:00
vfork.S Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
xstat.c Update. 2004-03-02 18:51:24 +00:00