Browse Source

Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.

Peter Kjellerstedt 20 years ago
parent
commit
c78563e45e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ldso/ldso/dl-startup.c

+ 2 - 2
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);