glibc/sysdeps/unix/sysv/linux/arm
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
..
bits ARM: Don't define _SYS_AUXV_H in sysdep.h 2014-09-23 14:58:49 +01:00
sys Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
____longjmp_chk.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_read_tp.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
alphasort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
arch-fork.h ARM: Convert fork.c to arch-fork.h 2014-05-16 12:51:39 -07:00
arm-features.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
brk.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
c++-types.data Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
clone.S Consolidate NPTL vs non clone.S for ARM. 2014-05-13 10:03:45 -07:00
dl-cache.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-machine.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-procinfo.c ARM: Add support for AT_HWCAP2 in _dl_procinfo 2014-06-25 16:02:04 +01:00
dl-procinfo.h ARM: Add support for AT_HWCAP2 in _dl_procinfo 2014-06-25 16:02:04 +01:00
fchown.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fcntl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ftruncate64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fxstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fxstatat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getdents64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getegid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
geteuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getgroups.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getresgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getresuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
glob64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
internal_accept4.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
internal_recvmmsg.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
internal_sendmmsg.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ioperm.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
kernel-features.h Remove ARM __ASSUME_SIGFRAME_V2. 2014-06-21 00:58:56 +00:00
lchown.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ld.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
ldconfig.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ldsodefs.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libanl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libBrokenLocale.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libc-do-syscall.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libc.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libcrypt.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libdl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libm.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libnsl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libpthread.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libresolv.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
librt.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libthread_db.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libutil.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
localplt.data Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
lockf64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
lxstat.c Fix whitespace in ARM files to allow move. 2014-02-08 01:52:38 +00:00
makecontext.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Makefile ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
mmap64.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
mmap.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
msgctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldgetrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldgetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldsetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
posix_fadvise64.c Clean up ARM old-ABI symbol versioning relics. 2014-05-14 00:41:20 +00:00
posix_fadvise.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pread64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pread.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
profil-counter.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pwrite64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pwrite.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readahead.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readdir64_r.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readdir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readelflib.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
register-dump.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
scandir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
semctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setegid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
seteuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setfsgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setfsuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgroups.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setregid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setreuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shmctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sigaction.c Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
sigcontextinfo.h Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
sigrestorer.S Remove ARM __ASSUME_SIGFRAME_V2. 2014-06-21 00:58:56 +00:00
swapcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
syscall.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
syscalls.list Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sysdep-cancel.h arm,aarch64: Remove SINGLE_THREAD_P_PIC 2014-05-25 12:50:41 -04:00
sysdep.h ARM: Don't define _SYS_AUXV_H in sysdep.h 2014-09-23 14:58:49 +01:00
sysdep.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
tls.h ARM: Split Linuxism out of sysdeps/arm/nptl/tls.h 2014-06-30 11:19:22 -07:00
truncate64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ucontext_i.sym Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
umount.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
unwind-forcedunwind.c Fix ARM build with GCC trunk. 2014-05-20 21:27:13 +00:00
unwind-resume.c Fix ARM build with GCC trunk. 2014-05-20 21:27:13 +00:00
Versions Remove ARM __ASSUME_SIGFRAME_V2. 2014-06-21 00:58:56 +00:00
versionsort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
vfork.S ARM: Consolidate NPTL/non versions of vfork 2014-05-14 09:44:24 -07:00
xstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00