From f8c3be3f23ffc2f5853cb57277c56987c18d0ab6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 23 Jul 2015 15:54:21 -0700 Subject: [PATCH] NaCl: Fix missing getdtablesize symbol. --- ChangeLog | 5 +++++ sysdeps/arm/nacl/libc.abilist | 1 + sysdeps/nacl/getdtsz.c | 1 + 3 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 488768ffce..3400f7b018 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-07-23 Roland McGrath + + * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias. + * sysdeps/arm/nacl/libc.abilist: Add it. + 2015-07-23 Mike Frysinger * 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)