rtld_paths.h: Provide _PATH_ELF32_HINTS string, unconditionally

Reviewed by:	emaste
Tested by:	jbeich
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33058
This commit is contained in:
Konstantin Belousov 2021-11-19 05:44:33 +02:00
parent b828161d12
commit f340188625

View file

@ -35,8 +35,12 @@
#define _COMPAT32_BASENAME_RTLD "ld-elf32.so.1"
#endif
#ifndef _PATH_ELF32_HINTS
#define _PATH_ELF32_HINTS "/var/run/ld-elf32.so.hints"
#endif
#ifdef COMPAT_32BIT
#define _PATH_ELF_HINTS "/var/run/ld-elf32.so.hints"
#define _PATH_ELF_HINTS _PATH_ELF32_HINTS
#define _PATH_LIBMAP_CONF "/etc/libmap32.conf"
#define _BASENAME_RTLD _COMPAT32_BASENAME_RTLD
#define STANDARD_LIBRARY_PATH "/lib32:/usr/lib32"