mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
bfd/
* elfxx-mips.c (mips_elf_recreate_got): Remove free. (mips_elf_resolve_final_got_entries): Remove bogus comment.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (mips_elf_recreate_got): Remove free.
|
||||||
|
(mips_elf_resolve_final_got_entries): Remove bogus comment.
|
||||||
|
|
||||||
2013-02-10 Alan Modra <amodra@gmail.com>
|
2013-02-10 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc.
|
* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc.
|
||||||
|
@ -4002,8 +4002,6 @@ mips_elf_recreate_got (void **entryp, void *data)
|
|||||||
}
|
}
|
||||||
if (*slot == NULL)
|
if (*slot == NULL)
|
||||||
*slot = entry;
|
*slot = entry;
|
||||||
else
|
|
||||||
free (entry);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4027,8 +4025,6 @@ mips_elf_resolve_final_got_entries (struct mips_got_info *g)
|
|||||||
if (new_got == NULL)
|
if (new_got == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* Each entry in g->got_entries has either been copied to new_got
|
|
||||||
or freed. Now delete the hash table itself. */
|
|
||||||
htab_delete (g->got_entries);
|
htab_delete (g->got_entries);
|
||||||
g->got_entries = new_got;
|
g->got_entries = new_got;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user