aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-01-08 13:58:56 -0800
committerRoland McGrath <roland@hack.frob.com>2015-01-08 13:58:56 -0800
commit6455a0f2ebd59bc336ab80e1ce2d995a8da2c475 (patch)
tree100009084871e88f803e0c7f7888a242b7ede5f8
parentfa6fbce0ad56ff03d737ca7d1cd8f66a0f93e5c8 (diff)
downloadglibc-6455a0f2ebd59bc336ab80e1ce2d995a8da2c475.tar
glibc-6455a0f2ebd59bc336ab80e1ce2d995a8da2c475.tar.gz
glibc-6455a0f2ebd59bc336ab80e1ce2d995a8da2c475.tar.bz2
glibc-6455a0f2ebd59bc336ab80e1ce2d995a8da2c475.zip
Add some __libc_foo aliases for libpthread to use.
-rw-r--r--sysdeps/nacl/close.c1
-rw-r--r--sysdeps/nacl/fork.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/nacl/close.c b/sysdeps/nacl/close.c
index c90a795a1a..9f550f9964 100644
--- a/sysdeps/nacl/close.c
+++ b/sysdeps/nacl/close.c
@@ -27,4 +27,5 @@ __close (int fd)
return NACL_CALL (__nacl_irt_fdio.close (fd), 0);
}
libc_hidden_def (__close)
+strong_alias (__close, __libc_close)
weak_alias (__close, close)
diff --git a/sysdeps/nacl/fork.c b/sysdeps/nacl/fork.c
index 2502a663ba..9f06944aa7 100644
--- a/sysdeps/nacl/fork.c
+++ b/sysdeps/nacl/fork.c
@@ -1,2 +1,3 @@
/* Get the stub, bypassing the "generic" NPTL code. */
#include <posix/fork.c>
+strong_alias (__fork, __libc_fork)