* elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section
authorAlan Modra <amodra@gmail.com>
Mon, 2 Jul 2012 03:02:45 +0000 (03:02 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Jul 2012 03:02:45 +0000 (03:02 +0000)
commit87e0a731c84e58c8a6f63b38baacbc066a70ab28
tree601dc896674bc249c25876951867e089cfdae094
parent5b0a443ab9312a117539570b3e55b2c8c468e5a7
* elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section
"anyway" variant when creating .plt.
(m32c_elf_relax_plt_section): Remove redundant test and unused param.
(m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling
m32c_elf_relax_plt_section.
* elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant
when creating .got and .got.plt.
(_bfd_mips_elf_final_link): Likewise for .rtproc, and use
bfd_get_linker_section.
* sunos.c: Similarly throughout.
bfd/ChangeLog
bfd/elf32-m32c.c
bfd/elfxx-mips.c
bfd/sunos.c