* elf.c (bfd_section_from_shdr <default case>): Call
authorZack Weinberg <zackw@panix.com>
Wed, 2 Mar 2005 04:47:25 +0000 (04:47 +0000)
committerZack Weinberg <zackw@panix.com>
Wed, 2 Mar 2005 04:47:25 +0000 (04:47 +0000)
commit8c1acd095d2f5046e963bccf45215e0f88383adc
tree8676eb418556ca0a763069ecddf855411a77dc4b
parent71ba24a1eb676359ecb1331f7958a185f05bc8db
* elf.c (bfd_section_from_shdr <default case>): Call
elf_backend_section_from_shdr hook unconditionally, and return
what it returns.
(bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr.
* elfxx-target.h (elf_backend_section_from_shdr)
(elf_backend_section_from_phdr): Default to
_bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr
respectively.
bfd/ChangeLog
bfd/elf.c
bfd/elfxx-target.h