* archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.

* elflink.c (elf_link_add_object_symbols): Delete redundant code.
This commit is contained in:
Alan Modra
2011-04-20 07:00:46 +00:00
parent 02d002477b
commit 595213d440
3 changed files with 6 additions and 8 deletions

View File

@ -4237,10 +4237,7 @@ error_free_dyn:
We need to get the alignment from the section. */
align = new_sec->alignment_power;
}
if (align > old_alignment
/* Permit an alignment power of zero if an alignment of one
is specified and no other alignments have been specified. */
|| (isym->st_value == 1 && old_alignment == 0))
if (align > old_alignment)
h->root.u.c.p->alignment_power = align;
else
h->root.u.c.p->alignment_power = old_alignment;