about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-15 04:34:14 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-15 04:34:14 +0000
commitc84956c7a24f4693063346ea9c3f0d78cfa81dd5 (patch)
tree450f0199799df0f86297b6c2d4a0a3b110275126 /sysdeps
parent30c2f3c4e241336a0fa616cb1a427c734e485487 (diff)
downloadglibc-c84956c7a24f4693063346ea9c3f0d78cfa81dd5.tar.gz
glibc-c84956c7a24f4693063346ea9c3f0d78cfa81dd5.tar.xz
glibc-c84956c7a24f4693063346ea9c3f0d78cfa81dd5.zip
Update.
	(elf_machine_got_rel): Cast sym correctly.
Diffstat (limited to 'sysdeps')
-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);