MIPS/BFD: Keep EI_ABIVERSION setting together
authorMaciej W. Rozycki <macro@mips.com>
Thu, 21 Jun 2018 20:40:56 +0000 (21:40 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Thu, 21 Jun 2018 20:40:56 +0000 (21:40 +0100)
commit334cd8a780840d6aee86790fe2fe5f02fe56edf6
tree0f5facfb89411497db483cc88b9731f8fe6c6d17
parentbb29b84d8c2cc2e91f8dec7f7eb64f03470bd03c
MIPS/BFD: Keep EI_ABIVERSION setting together

Shuffle code in `_bfd_mips_post_process_headers' so that the setting of
the EI_ABIVERSION ELF file header field is complete before calling
`_bfd_elf_post_process_headers'.  This used to be the case, but was
changed with commit 351cdf24d223 ("[MIPS] Implement O32 FPXX, FP64 and
FP64A ABI extensions") for no reason.

bfd/
* elfxx-mips.c (_bfd_mips_post_process_headers): Keep
EI_ABIVERSION setting together.
bfd/ChangeLog
bfd/elfxx-mips.c