summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-01-12 13:26:18 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2005-01-12 13:26:18 +0000
commitc78563e45e79a3932024aa5fde2fe9c3f5024311 (patch)
tree63ce4502276985a84368b4e6c37c75ab5bd87540
parent9acf46c0c74008440f6dfc4d09d82934a56ecd18 (diff)
Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.
-rw-r--r--ldso/ldso/dl-startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/dl-startup.c b/ldso/ldso/dl-startup.c
index eb4b9fd79..caff8d1a7 100644
--- a/ldso/ldso/dl-startup.c
+++ b/ldso/ldso/dl-startup.c
@@ -282,8 +282,8 @@ found_got:
SEND_STDERR("scanning DYNAMIC section\n");
#endif
tpnt->dynamic_addr = dpnt;
-#ifdef __mips__
- /* MIPS cannot call functions here, must inline */
+#if defined(__mips__) || defined(__cris__)
+ /* Some architectures cannot call functions here, must inline */
__dl_parse_dynamic_info(dpnt, tpnt->dynamic_info, NULL);
#else
_dl_parse_dynamic_info(dpnt, tpnt->dynamic_info, NULL);