From: Richard Henderson Date: Fri, 20 Jun 2003 19:24:17 +0000 (+0000) Subject: * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. ... X-Git-Tag: cvs/glibc-2_3_3~557 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27681b99303c9c805a7b6beb185595879a6cc1ce;p=thirdparty%2Fglibc.git * 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 --- diff --git a/ChangeLog b/ChangeLog index c2bb5ffd72c..404169f1df1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-20 Richard Henderson + + * 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 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh index 0c7eab64c9f..4fea51adef5 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 5b637558141..1e28c119f78 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