Ver Fonte

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

Peter Kjellerstedt há 21 anos atrás
pai
commit
c78563e45e
1 ficheiros alterados com 2 adições e 2 exclusões
  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);