diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-20 14:05:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-20 14:05:44 -0400 |
commit | 82be16427666e8e63af7233345ca949f471acaa6 (patch) | |
tree | 38db8baf5d242bf745757dc4f45f539d2c305b35 /ldso | |
parent | f3ba5c94eb3463a0119de2c567d1a475ff206be5 (diff) |
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 <vapier@gentoo.org>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/include/ldso.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <bits/uClibc_page.h> /* Pull in the ldso syscalls and string functions */ +#ifndef __ARCH_HAS_NO_SHARED__ #include <dl-syscall.h> #include <dl-string.h> /* 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 <dl-inlines.h> #endif +#else /* __ARCH_HAS_NO_SHARED__ */ +#include <dl-defs.h> +#endif + #endif /* _LDSO_H_ */ |