* elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index.
Reported by Ken Faiczak <kfaiczak@SANDVINE.com>.
This commit is contained in:
parent
c89b70f16b
commit
c9c27aad54
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-05-30 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index.
|
||||
Reported by Ken Faiczak <kfaiczak@SANDVINE.com>.
|
||||
|
||||
2003-05-30 Ulrich Drepper <drepper@redhat.com>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
|
|
|
@ -7898,7 +7898,7 @@ _bfd_mips_elf_discard_info (abfd, cookie, info)
|
|||
cookie->rel = cookie->rels;
|
||||
cookie->relend = cookie->rels + o->reloc_count;
|
||||
|
||||
for (i = 0, skip = 0; i < o->_raw_size; i ++)
|
||||
for (i = 0, skip = 0; i < o->_raw_size / PDR_SIZE; i ++)
|
||||
{
|
||||
if (MNAME(abfd,_bfd_elf,reloc_symbol_deleted_p) (i * PDR_SIZE, cookie))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue