Explorar el Código

dump the address we transfer control to

Mike Frysinger hace 19 años
padre
commit
34288f4de0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      ldso/ldso/dl-startup.c

+ 2 - 1
ldso/ldso/dl-startup.c

@@ -302,7 +302,8 @@ static void * __attribute_used__ _dl_start(unsigned long args)
 
 
 	/* Transfer control to the application.  */
-	SEND_STDERR_DEBUG("transfering control to application\n");
+	SEND_STDERR_DEBUG("transfering control to application @ ");
 	_dl_elf_main = (int (*)(int, char **, char **)) auxvt[AT_ENTRY].a_un.a_val;
+	SEND_ADDRESS_STDERR_DEBUG(_dl_elf_main, 1);
 	START();
 }