1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

_dl_iterate_phdr_locked(): fix libc and libdl

Add prototype.  Export from libdl.

Fixes:	1426fd6cff
Reviewed by:	kevans
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D47563
This commit is contained in:
Konstantin Belousov 2024-11-14 05:54:24 +02:00
parent 3cc3d71efe
commit 209fd89a28
2 changed files with 6 additions and 0 deletions

View File

@ -204,6 +204,8 @@ dl_init_phdr_info(void)
#endif
#pragma weak _dl_iterate_phdr_locked
int _dl_iterate_phdr_locked(int (*callback)(struct dl_phdr_info *,
size_t, void *), void *data);
int
_dl_iterate_phdr_locked(
int (*callback)(struct dl_phdr_info *, size_t, void *) __unused,

View File

@ -22,3 +22,7 @@ FBSD_1.8 {
rtld_get_var;
rtld_set_var;
};
FBSDprivate_1.0 {
_dl_iterate_phdr_locked;
};