* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.
commita92f2531b3e0331383ab52a22eebe5ec62e6adc5
authorRichard Sandiford <rsandifo@nildram.co.uk>
Tue, 5 Apr 2005 07:35:12 +0000 (5 07:35 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Tue, 5 Apr 2005 07:35:12 +0000 (5 07:35 +0000)
treee3691e64563d4149fafd7c691fa2a35846c23c78
parente05fe1dc7aaad6bbd45c2794cdf49af8f2e2d67b
* 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