summaryrefslogtreecommitdiffstats
path: root/libdl
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2012-05-01 17:45:53 -0700
committerRaghu Gandham <raghu@mips.com>2012-05-04 11:34:40 -0700
commit726800e8f42f25a1bf7a36b1603ded29266e8ac6 (patch)
tree20a3971ce514a9c0a163662df988ce7fbcef5317 /libdl
parent10579fc43d3ade285eed7318aee062a999f2784d (diff)
downloadbionic-726800e8f42f25a1bf7a36b1603ded29266e8ac6.zip
bionic-726800e8f42f25a1bf7a36b1603ded29266e8ac6.tar.gz
bionic-726800e8f42f25a1bf7a36b1603ded29266e8ac6.tar.bz2
MIPS support to libm, libdl and libthread_db
Change-Id: I9106721af7fe0cd45df82976250db0d300a20117 Signed-off-by: Raghu Gandham <raghu@mips.com>
Diffstat (limited to 'libdl')
-rw-r--r--libdl/libdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdl/libdl.c b/libdl/libdl.c
index 872c0c9..1d51c37 100644
--- a/libdl/libdl.c
+++ b/libdl/libdl.c
@@ -26,11 +26,11 @@ int dlclose(void *handle) { return 0; }
#ifdef __arm__
void *dl_unwind_find_exidx(void *pc, int *pcount) { return 0; }
-#elif defined(__i386__) || defined(__sh__)
+#elif defined(__i386__) || defined(__sh__) || defined(__mips__)
/* 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),
void *data) { return 0; }
#else
-#error Unsupported architecture. Only arm and x86 are supported.
+#error Unsupported architecture. Only mips, arm and x86 are supported.
#endif