This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] NaCl: Fix missing getdtablesize symbol.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 23 Jul 2015 15:55:06 -0700 (PDT)
- Subject: [COMMITTED PATCH] NaCl: Fix missing getdtablesize symbol.
- Authentication-results: sourceware.org; auth=none
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.
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)