]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Introduce is_rtld_link_map
authorFlorian Weimer <fweimer@redhat.com>
Fri, 20 Dec 2024 14:52:57 +0000 (15:52 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 20 Dec 2024 14:52:57 +0000 (15:52 +0100)
commit2b1dba3eb364aa65ce4ee947c39fb8d2d75e69b5
tree0036fd9611c8a9cda941c72ef80d16201380e24d
parent322e9d4e443084336ea41a8e7bf72456ab273b73
elf: Introduce is_rtld_link_map

Unconditionally define it to false for static builds.

This avoids the awkward use of weak_extern for _dl_rtld_map
in checks that cannot be possibly true on static builds.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/dl-dst.h
elf/do-rel.h
elf/dynamic-link.h
elf/rtld.c
sysdeps/arm/dl-machine.h
sysdeps/generic/ldsodefs.h
sysdeps/mips/dl-machine.h
sysdeps/powerpc/powerpc64/dl-machine.h
sysdeps/sh/dl-machine.h
sysdeps/x86/dl-prop.h