]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Add extension mechanism to ld.so.cache
authorFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2020 08:13:43 +0000 (09:13 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 4 Dec 2020 08:16:41 +0000 (09:16 +0100)
commitdfb3f101c5ef23adf60d389058a2b33e23303d04
tree68f9ddebe898005e690cb8099df05b46ddc461d9
parent84ba719b260551918965d0a433914de683087645
elf: Add extension mechanism to ld.so.cache

A previously unused new-format header field is used to record
the address of an extension directory.

This change adds a demo extension which records the version of
ldconfig which builds a file.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/cache.c
sysdeps/generic/dl-cache.h