1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Add stub for dl_iterate_phdr.

This commit is contained in:
Alexander Kabaev 2007-04-03 18:35:20 +00:00
parent 585b090609
commit 832a21869c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168314

View File

@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$");
* Linkage to services provided by the dynamic linker.
*/
#include <dlfcn.h>
#include <link.h>
#include <stddef.h>
static const char sorry[] = "Service unavailable";
@ -127,3 +128,12 @@ _rtld_thread_init(void * li)
{
_rtld_error(sorry);
}
#pragma weak dl_iterate_phdr
int
dl_iterate_phdr(int (*callback)(struct dl_phdr_info *, size_t, void *),
void *data)
{
_rtld_error(sorry);
return 0;
}