From: Roland McGrath Date: Thu, 8 Jan 2015 21:58:56 +0000 (-0800) Subject: Add some __libc_foo aliases for libpthread to use. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6455a0f2ebd59bc336ab80e1ce2d995a8da2c475;p=thirdparty%2Fglibc.git Add some __libc_foo aliases for libpthread to use. --- diff --git a/sysdeps/nacl/close.c b/sysdeps/nacl/close.c index c90a795a1ab..9f550f99644 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 2502a663ba2..9f06944aa70 100644 --- a/sysdeps/nacl/fork.c +++ b/sysdeps/nacl/fork.c @@ -1,2 +1,3 @@ /* Get the stub, bypassing the "generic" NPTL code. */ #include +strong_alias (__fork, __libc_fork)