From: David S. Miller Date: Fri, 22 Mar 2013 15:54:21 +0000 (+0000) Subject: Fix attribute section output on sparc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=209be8d2a998544ff90bee54f76ca6cf5a812b55;p=binutils-gdb.git Fix attribute section output on sparc. bfd/ * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of hwcaps attribute. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cef68c6f627..a57684db5c4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-03-22 David S. Miller + + * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of + hwcaps attribute. + 2013-03-22 Achille Fouilleul PR ld/14902 diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c index 9684ffd7a4d..596c8384bbe 100644 --- a/bfd/elfxx-sparc.c +++ b/bfd/elfxx-sparc.c @@ -4905,6 +4905,7 @@ _bfd_sparc_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd) out_attr = &out_attrs[Tag_GNU_Sparc_HWCAPS]; out_attr->i |= in_attr->i; + out_attr->type = 1; /* Merge Tag_compatibility attributes and any common GNU ones. */ _bfd_elf_merge_object_attributes (ibfd, obfd);