diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 17:21:31 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 17:21:31 +0000 |
commit | 9efeb38dd1806d9c18b31baf594de95249f59319 (patch) | |
tree | 9b8eb29d0b863b060abbb3f282db790f40efed65 /bfd/elfxx-mips.c | |
parent | 20e2a8aa3311d7c765e3fdcaab46dc5a11d266ff (diff) | |
download | gdb-9efeb38dd1806d9c18b31baf594de95249f59319.zip gdb-9efeb38dd1806d9c18b31baf594de95249f59319.tar.gz gdb-9efeb38dd1806d9c18b31baf594de95249f59319.tar.bz2 |
bfd/
* elfxx-mips.c (mips_elf_recreate_got): Remove free.
(mips_elf_resolve_final_got_entries): Remove bogus comment.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index b281971..9a92e2d 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -4002,8 +4002,6 @@ mips_elf_recreate_got (void **entryp, void *data) } if (*slot == NULL) *slot = entry; - else - free (entry); return 1; } @@ -4027,8 +4025,6 @@ mips_elf_resolve_final_got_entries (struct mips_got_info *g) if (new_got == NULL) 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); g->got_entries = new_got; } |