MIPS support to libm, libdl and libthread_db

Change-Id: I9106721af7fe0cd45df82976250db0d300a20117
Signed-off-by: Raghu Gandham <raghu@mips.com>
This commit is contained in:
Chris Dearman
2012-05-01 17:45:53 -07:00
committed by Raghu Gandham
parent 10579fc43d
commit 726800e8f4
7 changed files with 342 additions and 10 deletions

View File

@@ -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