]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Do not copy vDSO soname when setting up link map
authorFlorian Weimer <fweimer@redhat.com>
Fri, 12 Feb 2021 17:22:59 +0000 (18:22 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 12 Feb 2021 17:34:03 +0000 (18:34 +0100)
commitebcf45a16ca981c8515f88db94e757cfc6fe4b35
tree2560589b5bb9131ae8fd62f2973e9fc2de99bbcb
parentce4a94b12e9ead1278326857c23b3102ec9c8452
elf: Do not copy vDSO soname when setting up link map

The kernel does not put the vDSO at special addresses, so writev can
write the name directly.  Also remove the incorrect comment about not
setting l_name.

Andy Lutomirski confirmed in
<https://lore.kernel.org/linux-api/442A16C0-AE5A-4A44-B261-FE6F817EAF3C@amacapital.net/>
that this copy is not necessary.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/setup-vdso.h