ELF/BFD: Propagate the return status from backend section processing
authorMaciej W. Rozycki <macro@mips.com>
Mon, 5 Feb 2018 14:00:21 +0000 (14:00 +0000)
committerMaciej W. Rozycki <macro@mips.com>
Mon, 5 Feb 2018 14:00:21 +0000 (14:00 +0000)
commit7550610057c51d47e3815ef93893d4f4faa7e03d
tree9b0a6d5613cde05e1a64473f41cd23d4f95981d7
parent78c8836415d45839875a5f312bfaa3d3ceea189a
ELF/BFD: Propagate the return status from backend section processing

Fix the issue of any failure from `->elf_backend_section_processing'
not being propagated by `_bfd_elf_write_object_contents'.  The MIPS
`_bfd_mips_elf_section_processing' handler can actually potentially
fail, however the caller currently ignores that.

bfd/
* elf.c (_bfd_elf_write_object_contents): Propagate a failure
status from `->elf_backend_section_processing'.
bfd/ChangeLog
bfd/elf.c