aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 14:33:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 14:33:35 +0200
commitcae3d71212ff1885d9317c22411fe97ccd99e287 (patch)
tree8e27b555baf998a418735a4fbc9cda23c7b592e1 /sysdeps/mach
parent77e7ba3201365565a21b42979b8d44be9936f254 (diff)
downloadglibc-cae3d71212ff1885d9317c22411fe97ccd99e287.tar
glibc-cae3d71212ff1885d9317c22411fe97ccd99e287.tar.gz
glibc-cae3d71212ff1885d9317c22411fe97ccd99e287.tar.bz2
glibc-cae3d71212ff1885d9317c22411fe97ccd99e287.zip
hurd: Fix rtld's strtoul_internal use through hurdlookup
* sysdeps/mach/hurd/dl-sysdep.c (__strtoul_internal): New function.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index fd2f3d52cb..517e4d62cc 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -602,6 +602,15 @@ __sbrk (intptr_t increment)
return (void *) addr;
}
+unsigned long int
+weak_function
+__strtoul_internal (const char *nptr, char **endptr, int base, int group)
+{
+ assert (base == 0 || base == 10);
+ assert (group == 0);
+ return _dl_strtoul (nptr, endptr);
+}
+
void weak_function attribute_hidden
_exit (int status)
{