2000-04-14 Andreas Jaeger <aj@suse.de>

* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
	symidx correctly.
	(elf_machine_got_rel): Cast sym correctly.
This commit is contained in:
Andreas Jaeger 2000-04-15 04:33:57 +00:00
parent b5e0b658d8
commit 245bff9408
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ elf_machine_got_rel (struct link_map *map, int lazy)
got += n;
/* Keep track of the symbol index. */
symidx = map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val;
sym = (void *) D_PTR (map, l_info[DT_SYMTAB]) + symidx;
sym = (ElfW(Sym) *) D_PTR (map, l_info[DT_SYMTAB]) + symidx;
i = (map->l_info[DT_MIPS (SYMTABNO)]->d_un.d_val
- map->l_info[DT_MIPS (GOTSYM)]->d_un.d_val);