summaryrefslogtreecommitdiffstats
path: root/libdl/libdl.c
diff options
context:
space:
mode:
authorShin-ichiro KAWASAKI <shinichiro.kawasaki.mg@hitachi.com>2009-08-31 16:39:32 +0900
committerTony Sim <sim.chinyeow@renesas.com>2009-08-31 16:39:32 +0900
commitefecfde19a1af5aacbd77a6124968df2d7a49a83 (patch)
tree8d00b42d3429177f697dc7a8abf225c39827e16c /libdl/libdl.c
parent90ec5f2a3f581927ffef55733e8d531890fdc90e (diff)
downloadbionic-efecfde19a1af5aacbd77a6124968df2d7a49a83.zip
bionic-efecfde19a1af5aacbd77a6124968df2d7a49a83.tar.gz
bionic-efecfde19a1af5aacbd77a6124968df2d7a49a83.tar.bz2
added and modified libdl to support SuperH architecture
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),