about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)