summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/binutils/bfd/elf32-arm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/elf32-arm.c b/contrib/binutils/bfd/elf32-arm.c
index 866ef71..ca40eac 100644
--- a/contrib/binutils/bfd/elf32-arm.c
+++ b/contrib/binutils/bfd/elf32-arm.c
@@ -6816,6 +6816,9 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
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)
{
OpenPOWER on IntegriCloud