From 82fc713658c82cbbc577e6f8fa6cec67b911ba6e Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 Oct 2012 14:45:14 +0100 Subject: link: Use linkat if arch does not have the link syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/linkat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/linkat.c') diff --git a/libc/sysdeps/linux/common/linkat.c b/libc/sysdeps/linux/common/linkat.c index 9abe9ec71..26a3d08e0 100644 --- a/libc/sysdeps/linux/common/linkat.c +++ b/libc/sysdeps/linux/common/linkat.c @@ -11,6 +11,7 @@ #ifdef __NR_linkat _syscall5(int, linkat, int, fromfd, const char *, from, int, tofd, const char *, to, int, flags) +libc_hidden_def(linkat) #else /* should add emulation with link() and /proc/self/fd/ ... */ #endif -- cgit v1.2.3