From 82be16427666e8e63af7233345ca949f471acaa6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Jul 2009 14:05:44 -0400 Subject: fix building for systems w/out ldso support If an arch (like alpha and others) have no ldso support at all, then there is no point in attempting to walk loaded modules in the dl-* helper funcs. Signed-off-by: Mike Frysinger --- ldso/include/ldso.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ldso/include') diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index eeccde0f9..dc4d92db6 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -33,6 +33,7 @@ /* Pull in the arch specific page size */ #include /* Pull in the ldso syscalls and string functions */ +#ifndef __ARCH_HAS_NO_SHARED__ #include #include /* Now the ldso specific headers */ @@ -133,4 +134,8 @@ extern void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load #include #endif +#else /* __ARCH_HAS_NO_SHARED__ */ +#include +#endif + #endif /* _LDSO_H_ */ -- cgit v1.2.3