Re: [RFC PATCH 2/2] x86: Make dl-cache.h and readelflib.c not Linux-specific

2023-05-19 Thread Carlos O'Donell
On 5/17/23 14:54, Sergey Bugaev via Libc-alpha wrote: > These files could be useful to any port that wants to use ld.so.cache. I agree, and this is likely cargo-cult across the targets. At most we look at EI_CLASS, and EM_* machine, and FLAG_ELF_LIBC6 is defined in sysdeps/generic/ldconfig.h (not

[RFC PATCH 2/2] x86: Make dl-cache.h and readelflib.c not Linux-specific

2023-05-17 Thread Sergey Bugaev
These files could be useful to any port that wants to use ld.so.cache. Signed-off-by: Sergey Bugaev --- sysdeps/{unix/sysv/linux => }/x86/readelflib.c | 0 sysdeps/{unix/sysv/linux => }/x86_64/dl-cache.h | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename sysdeps/{unix/sysv/linux => }