OSDN Git Service

* 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)
commit694468ddec3ef27c8218f76732a3a7e10467890d
treef33d52a401a702ac726f1dc8880a221c50507e86
parente7daa5ba1e7b7120802646eb9479f227ead30485
* 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