aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-20 19:24:17 +0000
committerRichard Henderson <rth@redhat.com>2003-06-20 19:24:17 +0000
commit27681b99303c9c805a7b6beb185595879a6cc1ce (patch)
tree7c806533f9d0e73ef21880acaf5bc9724db83454
parentc795f356aa16ac1ee7962909c0f0a0b03ca2af11 (diff)
downloadglibc-27681b99303c9c805a7b6beb185595879a6cc1ce.tar
glibc-27681b99303c9c805a7b6beb185595879a6cc1ce.tar.gz
glibc-27681b99303c9c805a7b6beb185595879a6cc1ce.tar.bz2
glibc-27681b99303c9c805a7b6beb185595879a6cc1ce.zip
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New. 2003-06-20 Richard Henderson <rth@redhat.com>
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/make-syscalls.sh5
-rw-r--r--sysdeps/unix/sysv/linux/alpha/syscalls.list2
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c2bb5ffd72..404169f1df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-06-20 Richard Henderson <rth@redhat.com>
+ * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
+ * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
+
+2003-06-20 Richard Henderson <rth@redhat.com>
+
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
Unset for alpha.
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 0c7eab64c9..4fea51adef 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -202,6 +202,11 @@ shared-only-routines += $file
fi
echo " echo 'symbol_version($source, $base, $ver)'; \\"
;;
+ !*)
+ name=`echo $name | sed 's/.//'`
+ echo " echo 'strong_alias ($strong, $name)'; \\"
+ echo " echo 'libc_hidden_def ($name)'; \\"
+ ;;
*)
echo " echo 'weak_alias ($strong, $name)'; \\"
echo " echo 'libc_hidden_weak ($name)'; \\"
diff --git a/sysdeps/unix/sysv/linux/alpha/syscalls.list b/sysdeps/unix/sysv/linux/alpha/syscalls.list
index 5b63755814..1e28c119f7 100644
--- a/sysdeps/unix/sysv/linux/alpha/syscalls.list
+++ b/sysdeps/unix/sysv/linux/alpha/syscalls.list
@@ -32,6 +32,8 @@ ftruncate - ftruncate 2 __ftruncate ftruncate __ftruncate64 ftruncate64
truncate - truncate 2 truncate truncate64
readahead - readahead 3 __readahead readahead
sendfile - sendfile i:iipi sendfile sendfile64
+open - open Ci:siv __libc_open __open open !__libc_open64 __open64 open64
+open64 open -
# proper socket implementations:
accept - accept Ci:iBN __libc_accept __accept accept