* elf32-arm.c (bfd_arm_get_mach_from_attributes): New function.