summaryrefslogtreecommitdiffstats
path: root/libdl/libdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdl/libdl.c')
-rw-r--r--libdl/libdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdl/libdl.c b/libdl/libdl.c
index 52707f1..7971942 100644
--- a/libdl/libdl.c
+++ b/libdl/libdl.c
@@ -24,7 +24,7 @@ int dlclose(void *handle) { return 0; }
#ifdef __arm__
void *dl_unwind_find_exidx(void *pc, int *pcount) { return 0; }
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__sh__)
/* we munge the cb definition so we don't have to include any headers here.
* It won't affect anything since these are just symbols anyway */
int dl_iterate_phdr(int (*cb)(void *info, void *size, void *data),