From 37b66c0b1a2156a43fb813499326230639ba2773 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 8 Jun 2017 12:52:42 -0700 Subject: ld.so: Consolidate 2 strtouls into _dl_strtoul [BZ #21528] There are 2 minimal strtoul implementations in ld.so: 1. __strtoul_internal in elf/dl-minimal.c. 2. tunables_strtoul in elf/dl-tunables.c. This patch adds _dl_strtoul to replace them. Tested builds with and without --enable-tunables. [BZ #21528] * elf/dl-minimal.c (__strtoul_internal): Removed. (strtoul): Likewise. * elf/dl-misc.c (_dl_strtoul): New function. * elf/dl-tunables.c (tunables_strtoul): Removed. (tunable_initialize): Replace tunables_strtoul with _dl_strtoul. * elf/rtld.c (process_envvars): Likewise. * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): Likewise. * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 69035e8425..72e5341be5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2017-06-08 H.J. Lu + + [BZ #21528] + * elf/dl-minimal.c (__strtoul_internal): Removed. + (strtoul): Likewise. + * elf/dl-misc.c (_dl_strtoul): New function. + * elf/dl-tunables.c (tunables_strtoul): Removed. + (tunable_initialize): Replace tunables_strtoul with _dl_strtoul. + * elf/rtld.c (process_envvars): Likewise. + * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): + Likewise. + * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype. + 2017-06-08 Zack Weinberg * libio/bits/types/FILE.h, libio/bits/types/__FILE.h -- cgit v1.2.3-70-g09d2