This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/21528] Duplicated minimal strtoul implementations in ld.so
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 08 Jun 2017 19:54:54 +0000
- Subject: [Bug dynamic-link/21528] Duplicated minimal strtoul implementations in ld.so
- Auto-submitted: auto-generated
- References: <bug-21528-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21528
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 37b66c0b1a2156a43fb813499326230639ba2773 (commit)
from 199fc19d3aaaf57944ef036e15904febe877fc93 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=37b66c0b1a2156a43fb813499326230639ba2773
commit 37b66c0b1a2156a43fb813499326230639ba2773
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jun 8 12:52:42 2017 -0700
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 13 +++++
elf/dl-minimal.c | 84 ---------------------------------
elf/dl-misc.c | 84 +++++++++++++++++++++++++++++++++
elf/dl-tunables.c | 69 +--------------------------
elf/rtld.c | 3 +-
sysdeps/generic/ldsodefs.h | 4 ++
sysdeps/unix/sysv/linux/dl-librecon.h | 2 +-
7 files changed, 104 insertions(+), 155 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.