MIPS/BFD: Keep EI_ABIVERSION setting together
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index f3a2d3ba0346f014cee13354c98f5f1fb220685d..0b0084c6e70088e177caa0a490d16b366f4bad0b 100644 (file)
@@ -16258,11 +16258,11 @@ _bfd_mips_post_process_headers (bfd *abfd, struct bfd_link_info *link_info)
        i_ehdrp->e_ident[EI_ABIVERSION] = MIPS_LIBC_ABI_MIPS_PLT;
     }
 
-  _bfd_elf_post_process_headers (abfd, link_info);
-
   if (mips_elf_tdata (abfd)->abiflags.fp_abi == Val_GNU_MIPS_ABI_FP_64
       || mips_elf_tdata (abfd)->abiflags.fp_abi == Val_GNU_MIPS_ABI_FP_64A)
     i_ehdrp->e_ident[EI_ABIVERSION] = MIPS_LIBC_ABI_MIPS_O32_FP64;
+
+  _bfd_elf_post_process_headers (abfd, link_info);
 }
 
 int
This page took 0.026585 seconds and 4 git commands to generate.