From efecfde19a1af5aacbd77a6124968df2d7a49a83 Mon Sep 17 00:00:00 2001 From: Shin-ichiro KAWASAKI Date: Mon, 31 Aug 2009 16:39:32 +0900 Subject: added and modified libdl to support SuperH architecture --- libdl/libdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdl/libdl.c') 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), -- cgit v1.1