aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-15 04:33:57 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-15 04:33:57 +0000
commit245bff940851e6683e659be69f83a486502ffffa (patch)
tree83c0d614aec7e88a4f82f066c81f7cdd485e9257
parentb5e0b658d87f03049679401da8c990f1437446bc (diff)
downloadglibc-245bff940851e6683e659be69f83a486502ffffa.tar
glibc-245bff940851e6683e659be69f83a486502ffffa.tar.gz
glibc-245bff940851e6683e659be69f83a486502ffffa.tar.bz2
glibc-245bff940851e6683e659be69f83a486502ffffa.zip
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.
-rw-r--r--sysdeps/mips/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index 5c628ce187..965cef9c8d 100644
--- a/sysdeps/mips/dl-machine.h
+++ b/sysdeps/mips/dl-machine.h
@@ -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);