Просмотр исходного кода

Oops, forgot to remove unused variable.

Joakim Tjernlund 21 лет назад
Родитель
Сommit
4135087a92
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      ldso/ldso/dl-startup.c

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

@@ -131,7 +131,6 @@ DL_BOOT(unsigned long args)
 	Elf32_auxv_t auxvt[AT_EGID + 1];
 	Elf32_auxv_t auxvt[AT_EGID + 1];
 	unsigned char *malloc_buffer, *mmap_zero;
 	unsigned char *malloc_buffer, *mmap_zero;
 	Elf32_Dyn *dpnt;
 	Elf32_Dyn *dpnt;
-	unsigned long *hash_addr;
 	struct r_debug *debug_addr = NULL;
 	struct r_debug *debug_addr = NULL;
 	size_t pagesize;
 	size_t pagesize;
 	int indx;
 	int indx;
@@ -528,7 +527,7 @@ found_got:
 	   free to start using global variables, since these things have all been
 	   free to start using global variables, since these things have all been
 	   fixed up by now.  Still no function calls outside of this library ,
 	   fixed up by now.  Still no function calls outside of this library ,
 	   since the dynamic resolver is not yet ready. */
 	   since the dynamic resolver is not yet ready. */
-	_dl_get_ready_to_run(tpnt, app_tpnt, load_addr, hash_addr,
+	_dl_get_ready_to_run(tpnt, app_tpnt, load_addr, 0,
 			auxvt, envp, debug_addr, malloc_buffer, mmap_zero, argv);
 			auxvt, envp, debug_addr, malloc_buffer, mmap_zero, argv);