Fix and use elf_append_rel
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Dec 2012 19:45:43 +0000 (19:45 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Dec 2012 19:45:43 +0000 (19:45 +0000)
commit59d6ffb2c9f99611fd9942516c434215f560d9ce
tree45581f0a6d6aa1396ffed907698da431eb1d7af5
parent13ca314985e8d50c15a7f147e768581737847f3c
Fix and use elf_append_rel

* elf32-i386.c (elf_i386_relocate_section): Replace
bfd_elf32_swap_reloc_out with elf_append_rel.
(elf_i386_finish_dynamic_symbol): Likewise.

* elflink.c (elf_append_rel): Call swap_reloc_out instead of
swap_reloca_out.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elflink.c