* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 5 Apr 2005 07:35:12 +0000 (07:35 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Tue, 5 Apr 2005 07:35:12 +0000 (07:35 +0000)
commitcc2e31b90bb42020f386d54a45be301bb3a8fc7d
tree4e69d3217f0be1fa3b46f3781e2890c122dfe969
parent8236346f4669711b5fcff0f02a2e0d1d37983ff3
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
(_bfd_mips_elf_section_from_shdr): Use it to check for recognized
SHT_MIPS_OPTIONS names.  Allow all sections with unrecognised
section flags.
(_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P
to check for SHT_MIPS_OPTIONS sections.
(_bfd_mips_elf_set_section_contents): Likewise.
bfd/ChangeLog
bfd/elfxx-mips.c