From 27681b99303c9c805a7b6beb185595879a6cc1ce Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 20 Jun 2003 19:24:17 +0000 Subject: * 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 --- sysdeps/unix/make-syscalls.sh | 5 +++++ sysdeps/unix/sysv/linux/alpha/syscalls.list | 2 ++ 2 files changed, 7 insertions(+) (limited to 'sysdeps/unix') 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 -- cgit 1.4.1