mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
hurd: Fix rtld's strtoul_internal use through hurdlookup
* sysdeps/mach/hurd/dl-sysdep.c (__strtoul_internal): New function.
This commit is contained in:
parent
77e7ba3201
commit
cae3d71212
@ -18,8 +18,8 @@
|
||||
Fix <unistd.h> inclusion.
|
||||
* sysdeps/posix/pwritev2.c: Include <errno.h>.
|
||||
* sysdeps/posix/pwritev64v2.c: Include <errno.h>.
|
||||
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk): New
|
||||
functions.
|
||||
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
|
||||
__strtoul_internal): New functions.
|
||||
* sysdeps/posix/pause.c: Include <sigsetops.h>.
|
||||
* sysdeps/posix/system.c: Include <sigsetops.h>.
|
||||
* sysdeps/mach/hurd/i386/Makefile
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user