Index: contrib/binutils/bfd/elf32-arm.c =================================================================== --- contrib/binutils/bfd/elf32-arm.c +++ contrib/binutils/bfd/elf32-arm.c @@ -6803,6 +6803,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) {