diff options
Diffstat (limited to 'ldso/ldso')
-rw-r--r-- | ldso/ldso/dl-elf.c | 1 | ||||
-rw-r--r-- | ldso/ldso/ldso.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 241d0222a..954f68126 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -797,6 +797,7 @@ void _dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info[], void /* we want this in ldso.so and libdl.a but nowhere else */ #ifdef __USE_GNU #if defined IS_IN_rtld || (defined IS_IN_libdl && ! defined SHARED) +extern __typeof(dl_iterate_phdr) __dl_iterate_phdr; int __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, size_t size, void *data), void *data) { diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index b1d3d8009..c3538426b 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -74,7 +74,8 @@ static int _dl_suid_ok(void); * can set an internal breakpoint on it, so that we are notified when the * address mapping is changed in some way. */ -void _dl_debug_state(void) +void _dl_debug_state(void); +void _dl_debug_state() { } |