diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-03 12:09:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-03 12:09:37 +0000 |
commit | c5598d4721655c8654e3f419d12b671e2a92c0ce (patch) | |
tree | 910ecdb5f7dbcb309929a3169437b169912f3f81 /sysdeps/unix/make-syscalls.sh | |
parent | bc13934719a97d9fcea4eea6e353dc78f8e9da00 (diff) | |
download | glibc-c5598d4721655c8654e3f419d12b671e2a92c0ce.tar.gz glibc-c5598d4721655c8654e3f419d12b671e2a92c0ce.tar.xz glibc-c5598d4721655c8654e3f419d12b671e2a92c0ce.zip |
* include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__].
* sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or libc_hidden_weak for every system call symbol defined. * include/time.h: Use libc_hidden_proto for time, asctime, mktime, timelocal, localtime, strftime. * time/asctime.c: Add libc_hidden_def. * time/mktime.c: Likewise. * time/localtime.c: Likewise. * time/strftime.c: Likewise. * time/strptime.c: Likewise. * sysdeps/generic/time.c: Likewise. * sysdeps/unix/time.c: Likewise. * sysdeps/unix/sysv/i386/time.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton. inet_makeaddr, inet_netof, inet_addr, __inet_addr. * resolv/inet_ntop.c: Likewise. * resolv/inet_pton.c: Likewise. * inet/inet_mkadr.c: Add libc_hidden_def. * inet/inet_netof.c: Likewise. * resolv/inet_addr.c: Likewise. * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE' clauses from conditionals for now. Will have to be fixed later for older compilers.
Diffstat (limited to 'sysdeps/unix/make-syscalls.sh')
-rw-r--r-- | sysdeps/unix/make-syscalls.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh index 10d699286b..d8a3210930 100644 --- a/sysdeps/unix/make-syscalls.sh +++ b/sysdeps/unix/make-syscalls.sh @@ -130,7 +130,8 @@ shared-only-routines += $file (echo '#include <sysdep.h>'; \\ echo 'PSEUDO ($strong, $syscall, $nargs)'; \\ echo ' ret'; \\ - echo 'PSEUDO_END($strong)'; \\" + echo 'PSEUDO_END($strong)'; \\ + echo 'libc_hidden_def ($strong)'; \\" # Append any weak aliases or versions defined for this syscall function. @@ -168,6 +169,7 @@ shared-only-routines += $file ;; *) echo " echo 'weak_alias ($strong, $name)'; \\" + echo " echo 'libc_hidden_weak ($name)'; \\" ;; esac done @@ -275,9 +277,12 @@ shared-only-routines += $file echo " echo '} \\'; \\" + echo " echo 'libc_hidden_def (BP_SYM ($strong)) \\'; \\" + # generate thunk aliases for name in $nv_weak; do echo " echo 'weak_alias (BP_SYM ($strong), BP_SYM ($name)) \\'; \\" + echo " echo 'libc_hidden_weak (BP_SYM ($name)) \\'; \\" done # wrap up |