From ba2502e22dec7f00dd3433c0776e60c57976afb7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 14 Oct 2000 17:50:39 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at GLIBC_2.2. * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, oldsetrlimit for GLIBC_2.0. --- ChangeLog | 22 +++++++++++++++++++ sysdeps/unix/sysv/linux/m68k/Dist | 1 + sysdeps/unix/sysv/linux/m68k/Makefile | 4 ++++ sysdeps/unix/sysv/linux/m68k/Versions | 22 +++++++++++++++++++ sysdeps/unix/sysv/linux/m68k/alphasort64.c | 1 + sysdeps/unix/sysv/linux/m68k/fcntl.c | 1 + sysdeps/unix/sysv/linux/m68k/getdents64.c | 1 + sysdeps/unix/sysv/linux/m68k/getrlimit.c | 1 + sysdeps/unix/sysv/linux/m68k/getrlimit64.c | 1 + sysdeps/unix/sysv/linux/m68k/glob64.c | 1 + sysdeps/unix/sysv/linux/m68k/lockf64.c | 1 + sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c | 1 + sysdeps/unix/sysv/linux/m68k/readdir64.c | 1 + sysdeps/unix/sysv/linux/m68k/readdir64_r.c | 1 + sysdeps/unix/sysv/linux/m68k/scandir64.c | 1 + sysdeps/unix/sysv/linux/m68k/setrlimit.c | 1 + sysdeps/unix/sysv/linux/m68k/syscalls.list | 2 ++ sysdeps/unix/sysv/linux/m68k/versionsort64.c | 1 + 18 files changed, 64 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/m68k/alphasort64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/fcntl.c create mode 100644 sysdeps/unix/sysv/linux/m68k/getdents64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/getrlimit.c create mode 100644 sysdeps/unix/sysv/linux/m68k/getrlimit64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/glob64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/lockf64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/readdir64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/readdir64_r.c create mode 100644 sysdeps/unix/sysv/linux/m68k/scandir64.c create mode 100644 sysdeps/unix/sysv/linux/m68k/setrlimit.c create mode 100644 sysdeps/unix/sysv/linux/m68k/versionsort64.c diff --git a/ChangeLog b/ChangeLog index 273b15174e..5aaa517e30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,27 @@ 2000-10-13 Michael Fedrowitz + * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. + * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. + * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. + * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. + * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. + * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. + * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. + * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. + * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. + * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. + * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. + * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, + __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, + getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at + GLIBC_2.2. + * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, + oldsetrlimit for GLIBC_2.0. + * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct arguments to _dl_init. diff --git a/sysdeps/unix/sysv/linux/m68k/Dist b/sysdeps/unix/sysv/linux/m68k/Dist index c28074fb5b..41d521b13f 100644 --- a/sysdeps/unix/sysv/linux/m68k/Dist +++ b/sysdeps/unix/sysv/linux/m68k/Dist @@ -1,5 +1,6 @@ clone.S mremap.S +oldgetrlimit64.c setresuid.c setresgid.c setfsuid.c diff --git a/sysdeps/unix/sysv/linux/m68k/Makefile b/sysdeps/unix/sysv/linux/m68k/Makefile index 7e46d51b86..55eeeabe10 100644 --- a/sysdeps/unix/sysv/linux/m68k/Makefile +++ b/sysdeps/unix/sysv/linux/m68k/Makefile @@ -11,3 +11,7 @@ ifeq ($(subdir),elf) sysdep-others += lddlibc4 install-bin += lddlibc4 endif + +ifeq ($(subdir),resource) +sysdep_routines += oldgetrlimit64 +endif diff --git a/sysdeps/unix/sysv/linux/m68k/Versions b/sysdeps/unix/sysv/linux/m68k/Versions index b70d1d1c45..6c650e2ce2 100644 --- a/sysdeps/unix/sysv/linux/m68k/Versions +++ b/sysdeps/unix/sysv/linux/m68k/Versions @@ -8,4 +8,26 @@ libc { # c* cacheflush; } + GLIBC_2.2 { + # functions used in other libraries + __xstat64; __fxstat64; __lxstat64; + + # a* + alphasort64; + + # g* + glob64; + + # New rlimit interface + getrlimit; setrlimit; getrlimit64; + + # r* + readdir64; readdir64_r; + + # s* + scandir64; + + # v* + versionsort64; + } } diff --git a/sysdeps/unix/sysv/linux/m68k/alphasort64.c b/sysdeps/unix/sysv/linux/m68k/alphasort64.c new file mode 100644 index 0000000000..0b5ae47d2f --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/alphasort64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/fcntl.c b/sysdeps/unix/sysv/linux/m68k/fcntl.c new file mode 100644 index 0000000000..ea951bc4f9 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/fcntl.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/getdents64.c b/sysdeps/unix/sysv/linux/m68k/getdents64.c new file mode 100644 index 0000000000..0c75fb5a06 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/getdents64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/getrlimit.c b/sysdeps/unix/sysv/linux/m68k/getrlimit.c new file mode 100644 index 0000000000..fc06dbd641 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/getrlimit.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/getrlimit64.c b/sysdeps/unix/sysv/linux/m68k/getrlimit64.c new file mode 100644 index 0000000000..fef018f471 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/getrlimit64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/glob64.c b/sysdeps/unix/sysv/linux/m68k/glob64.c new file mode 100644 index 0000000000..82a9a296a7 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/glob64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/lockf64.c b/sysdeps/unix/sysv/linux/m68k/lockf64.c new file mode 100644 index 0000000000..a88f5a784a --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/lockf64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c b/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c new file mode 100644 index 0000000000..4c27e957bf --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/readdir64.c b/sysdeps/unix/sysv/linux/m68k/readdir64.c new file mode 100644 index 0000000000..2ea26dd409 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/readdir64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/readdir64_r.c b/sysdeps/unix/sysv/linux/m68k/readdir64_r.c new file mode 100644 index 0000000000..9f54f897e3 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/readdir64_r.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/scandir64.c b/sysdeps/unix/sysv/linux/m68k/scandir64.c new file mode 100644 index 0000000000..506fd8877c --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/scandir64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/setrlimit.c b/sysdeps/unix/sysv/linux/m68k/setrlimit.c new file mode 100644 index 0000000000..bfaef74c38 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/setrlimit.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/m68k/syscalls.list b/sysdeps/unix/sysv/linux/m68k/syscalls.list index 5367ef0d0b..98d30667bd 100644 --- a/sysdeps/unix/sysv/linux/m68k/syscalls.list +++ b/sysdeps/unix/sysv/linux/m68k/syscalls.list @@ -1,3 +1,5 @@ # File name Caller Syscall name Args Strong name Weak names cacheflush EXTRA cacheflush i:iiii __cacheflush cacheflush +oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0 +oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@GLIBC_2.0 diff --git a/sysdeps/unix/sysv/linux/m68k/versionsort64.c b/sysdeps/unix/sysv/linux/m68k/versionsort64.c new file mode 100644 index 0000000000..144b691e56 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/versionsort64.c @@ -0,0 +1 @@ +#include