Index: contrib/binutils/bfd/elf32-arm.c =================================================================== --- contrib/binutils/bfd/elf32-arm.c +++ contrib/binutils/bfd/elf32-arm.c @@ -5183,6 +5183,8 @@ bfd_vma check; bfd_signed_vma signed_check; +//printf("R_ARM_THM_JUMP24\n"); +// *unresolved_reloc_p = FALSE; /* Need to refetch the addend, reconstruct the top three bits, and glue the two pieces together. */ if (globals->use_rel) @@ -6803,6 +6805,9 @@ for (i = 4; i < NUM_KNOWN_OBJ_ATTRIBUTES; i++) { + if (out_attr[i].type == 0) + out_attr[i].type = in_attr[i].type; + /* Merge this attribute with existing attributes. */ switch (i) {