aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/accept4.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-11-25 02:35:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-11-25 02:35:18 +0100
commit6e45e6ef4de173f8b94de07f9522c35fc230151c (patch)
tree5d705ee5ceb771e207d7c9b3a9ba6965bc66f173 /sysdeps/mach/hurd/accept4.c
parentfb304035c41c7ee2afede51e5e8568974549ba5e (diff)
downloadglibc-6e45e6ef4de173f8b94de07f9522c35fc230151c.tar
glibc-6e45e6ef4de173f8b94de07f9522c35fc230151c.tar.gz
glibc-6e45e6ef4de173f8b94de07f9522c35fc230151c.tar.bz2
glibc-6e45e6ef4de173f8b94de07f9522c35fc230151c.zip
Fix hurd build with hidden support
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port of interrupted RPC instead of restoring it. * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def. * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove libc_hidden_def. * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Add relro attribute, define rtld_hidden_data_def. * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def. * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add libc_hidden_def. (if_freenameindex): Add libc_hidden_weak. (if_nameindex): Add libc_hidden_weak. * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into __open64. * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def. * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def. * sysdeps/mach/nanosleep.c: Include <time.h> (__nanosleep): Rename to __libc_nanosleep. (__nanosleep): Add weak_alias. (nanosleep): Update alias. * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not define. * sysdeps/mach/hurd/configure: Regenerate.
Diffstat (limited to 'sysdeps/mach/hurd/accept4.c')
-rw-r--r--sysdeps/mach/hurd/accept4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/accept4.c b/sysdeps/mach/hurd/accept4.c
index 19114f79ce..13cd593d19 100644
--- a/sysdeps/mach/hurd/accept4.c
+++ b/sysdeps/mach/hurd/accept4.c
@@ -95,5 +95,4 @@ __libc_accept4 (int fd, __SOCKADDR_ARG addrarg, socklen_t *addr_len, int flags)
return _hurd_intern_fd (new, O_IGNORE_CTTY | flags, 1);
}
-libc_hidden_def (__libc_accept4)
weak_alias (__libc_accept4, accept4)