This patch sets the BFD arch/mach info prior to swapping in sections, in case the section swapping depends on the arch/mach info (true for some TI COFF targets). * bfd/coffgen.c (coff_real_object_p): Set BFD arch/mach info *before* swapping in sections instead of after.