This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [BZ #21528] rtld: Add _dl_strtoul



On 08/06/2017 14:46, H.J. Lu wrote:
> On Mon, Jun 5, 2017 at 12:59 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>> 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.
>>
>> OK for master?
>>
>> Thanks.
>>
>> H.J.
>> ---
>>         [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.
>>
> 
> Here is the updated patch.  Any comments, objections?
> 

LGTM, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]