about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-07-23 15:54:21 -0700
committerRoland McGrath <roland@hack.frob.com>2015-07-23 15:54:21 -0700
commitf8c3be3f23ffc2f5853cb57277c56987c18d0ab6 (patch)
tree4cd4d38c6f819f8d243f93f3f50331768174b121
parent3840aabcd5b482b5e6cf5b204d1019ea0ddc9827 (diff)
downloadglibc-f8c3be3f23ffc2f5853cb57277c56987c18d0ab6.tar.gz
glibc-f8c3be3f23ffc2f5853cb57277c56987c18d0ab6.tar.xz
glibc-f8c3be3f23ffc2f5853cb57277c56987c18d0ab6.zip
NaCl: Fix missing getdtablesize symbol.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/arm/nacl/libc.abilist1
-rw-r--r--sysdeps/nacl/getdtsz.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 488768ffce..3400f7b018 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-23  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
+	* sysdeps/arm/nacl/libc.abilist: Add it.
+
 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
 
 	* conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
diff --git a/sysdeps/arm/nacl/libc.abilist b/sysdeps/arm/nacl/libc.abilist
index 5e7769145b..b3d14c2bf0 100644
--- a/sysdeps/arm/nacl/libc.abilist
+++ b/sysdeps/arm/nacl/libc.abilist
@@ -853,6 +853,7 @@ GLIBC_2.22
  getdate_r F
  getdelim F
  getdomainname F
+ getdtablesize F
  getegid F
  getenv F
  geteuid F
diff --git a/sysdeps/nacl/getdtsz.c b/sysdeps/nacl/getdtsz.c
index 31c9978103..e0ba14fdfa 100644
--- a/sysdeps/nacl/getdtsz.c
+++ b/sysdeps/nacl/getdtsz.c
@@ -26,3 +26,4 @@ __getdtablesize (void)
   /* There is no actual limit in NaCl, just memory.  */
   return -1;
 }
+weak_alias (__getdtablesize, getdtablesize)