* 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>
This commit is contained in:
Richard Henderson 2003-06-20 19:24:17 +00:00
parent c795f356aa
commit 27681b9930
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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> 2003-06-20 Richard Henderson <rth@redhat.com>
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect. * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.

View file

@ -202,6 +202,11 @@ shared-only-routines += $file
fi fi
echo " echo 'symbol_version($source, $base, $ver)'; \\" 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 'weak_alias ($strong, $name)'; \\"
echo " echo 'libc_hidden_weak ($name)'; \\" echo " echo 'libc_hidden_weak ($name)'; \\"

View file

@ -32,6 +32,8 @@ ftruncate - ftruncate 2 __ftruncate ftruncate __ftruncate64 ftruncate64
truncate - truncate 2 truncate truncate64 truncate - truncate 2 truncate truncate64
readahead - readahead 3 __readahead readahead readahead - readahead 3 __readahead readahead
sendfile - sendfile i:iipi sendfile sendfile64 sendfile - sendfile i:iipi sendfile sendfile64
open - open Ci:siv __libc_open __open open !__libc_open64 __open64 open64
open64 open -
# proper socket implementations: # proper socket implementations:
accept - accept Ci:iBN __libc_accept __accept accept accept - accept Ci:iBN __libc_accept __accept accept