[COMMITTED] NaCl: Fix missing getdtablesize symbol.
diff mbox

Message ID 20150723225506.499FE2C3B83@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath July 23, 2015, 10:55 p.m. UTC
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.

Patch
diff mbox

diff --git a/sysdeps/arm/nacl/libc.abilist b/sysdeps/arm/nacl/libc.abilist
index 5e77691..b3d14c2 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 31c9978..e0ba14f 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)