x86: Make dl-cache.h and readelflib.c not Linux-specific
commit45e2483a6cd920b38d287c51c5363f03a34f92da
authorSergey Bugaev <bugaevc@gmail.com>
Sat, 17 Jun 2023 16:40:26 +0000 (17 19:40 +0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 26 Jun 2023 13:04:31 +0000 (26 10:04 -0300)
tree8fc18b76de2b941d532a0d2c48f3e03045ec377a
parentdaf7b53a3c93e99ce66837e908984148fb9f11ee
x86: Make dl-cache.h and readelflib.c not Linux-specific

These files could be useful to any port that wants to use ld.so.cache.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/x86/readelflib.c [moved from sysdeps/unix/sysv/linux/x86/readelflib.c with 100% similarity]
sysdeps/x86_64/dl-cache.h [moved from sysdeps/unix/sysv/linux/x86_64/dl-cache.h with 100% similarity]