[PATCH 0/3] elf: remove is_path related redundant code

Aurelien Jarno aurelien@aurel32.net
Wed Dec 20 20:21:00 GMT 2017


On 2017-12-20 16:42, Dmitry V. Levin wrote:
> The only place in the code nowadays that specifies is_path == 1 argument
> is fillin_rpath, and the string being passed in that case never contains ':'
> symbols.  This makes the whole is_path thing redundant.
> 
> Dmitry V. Levin (3):
>   elf: remove redundant code from _dl_dst_substitute
>   elf: remove redundant code from is_dst
>   elf: remove redundant is_path argument
> 
>  ChangeLog                  | 15 ++++++++++++
>  elf/dl-deps.c              |  4 +--
>  elf/dl-dst.h               |  4 +--
>  elf/dl-load.c              | 61 ++++++++++++++--------------------------------
>  sysdeps/generic/ldsodefs.h |  4 +--
>  5 files changed, 39 insertions(+), 49 deletions(-)

This looks all good to me, thanks for the cleanup.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list