aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2000-10-14 17:50:39 +0000
committerAndreas Schwab <schwab@suse.de>2000-10-14 17:50:39 +0000
commitba2502e22dec7f00dd3433c0776e60c57976afb7 (patch)
tree0d1c01cebe912d17dd3f4bf43b9ecab9b03c6944
parentc4b7842cd405abf0bc786ba1d21be1497c377d05 (diff)
downloadglibc-ba2502e22dec7f00dd3433c0776e60c57976afb7.zip
glibc-ba2502e22dec7f00dd3433c0776e60c57976afb7.tar.gz
glibc-ba2502e22dec7f00dd3433c0776e60c57976afb7.tar.bz2
* 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.
-rw-r--r--ChangeLog22
-rw-r--r--sysdeps/unix/sysv/linux/m68k/Dist1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/Makefile4
-rw-r--r--sysdeps/unix/sysv/linux/m68k/Versions22
-rw-r--r--sysdeps/unix/sysv/linux/m68k/alphasort64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/fcntl.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/getdents64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/getrlimit.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/getrlimit64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/glob64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/lockf64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/readdir64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/readdir64_r.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/scandir64.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/setrlimit.c1
-rw-r--r--sysdeps/unix/sysv/linux/m68k/syscalls.list2
-rw-r--r--sysdeps/unix/sysv/linux/m68k/versionsort64.c1
18 files changed, 64 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 273b151..5aaa517 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,27 @@
2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
+ * 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 c28074f..41d521b 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 7e46d51..55eeeab 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 b70d1d1c..6c650e2 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 0000000..0b5ae47
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/alphasort64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/alphasort64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/fcntl.c b/sysdeps/unix/sysv/linux/m68k/fcntl.c
new file mode 100644
index 0000000..ea951bc
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/fcntl.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/fcntl.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/getdents64.c b/sysdeps/unix/sysv/linux/m68k/getdents64.c
new file mode 100644
index 0000000..0c75fb5
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/getdents64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/getdents64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/getrlimit.c b/sysdeps/unix/sysv/linux/m68k/getrlimit.c
new file mode 100644
index 0000000..fc06dbd
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/getrlimit.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/getrlimit.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/getrlimit64.c b/sysdeps/unix/sysv/linux/m68k/getrlimit64.c
new file mode 100644
index 0000000..fef018f
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/getrlimit64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/getrlimit64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/glob64.c b/sysdeps/unix/sysv/linux/m68k/glob64.c
new file mode 100644
index 0000000..82a9a29
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/glob64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/glob64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/lockf64.c b/sysdeps/unix/sysv/linux/m68k/lockf64.c
new file mode 100644
index 0000000..a88f5a7
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/lockf64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/lockf64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c b/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c
new file mode 100644
index 0000000..4c27e95
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/readdir64.c b/sysdeps/unix/sysv/linux/m68k/readdir64.c
new file mode 100644
index 0000000..2ea26dd
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/readdir64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/readdir64.c>
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 0000000..9f54f89
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/readdir64_r.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/readdir64_r.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/scandir64.c b/sysdeps/unix/sysv/linux/m68k/scandir64.c
new file mode 100644
index 0000000..506fd88
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/scandir64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/scandir64.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/setrlimit.c b/sysdeps/unix/sysv/linux/m68k/setrlimit.c
new file mode 100644
index 0000000..bfaef74
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/setrlimit.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/setrlimit.c>
diff --git a/sysdeps/unix/sysv/linux/m68k/syscalls.list b/sysdeps/unix/sysv/linux/m68k/syscalls.list
index 5367ef0..98d3066 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 0000000..144b691
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/m68k/versionsort64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/versionsort64.c>