MIPS/BFD: Factor out ELF file header flag checks
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 4 Jan 2016 23:15:03 +0000 (23:15 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 4 Jan 2016 23:15:03 +0000 (23:15 +0000)
commitb2e9744f80a002c06504ac1ef41ae1f7e48167c8
treee66ea7ecdd11cd699416301631e9dbe96e362ffd
parent28d45e28be904a53fef4310b3d41e41b045885b0
MIPS/BFD: Factor out ELF file header flag checks

Factor out the parts of `_bfd_mips_elf_merge_private_bfd_data'
responsible for ELF file header flag compatibility checks to
`mips_elf_merge_obj_e_flags'.  As a side effect remove a premature
return point from `_bfd_mips_elf_merge_private_bfd_data'.  No functional
change otherwise.

bfd/
* elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
factored out from...
(_bfd_mips_elf_merge_private_bfd_data): ... here.
bfd/ChangeLog
bfd/elfxx-mips.c