Fix attribute section output on sparc.

bfd/

	* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of
	hwcaps attribute.
This commit is contained in:
David S. Miller 2013-03-22 15:54:21 +00:00
parent 5c0df4846e
commit 209be8d2a9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-03-22 David S. Miller <davem@davemloft.net>
* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of
hwcaps attribute.
2013-03-22 Achille Fouilleul <achille.fouilleul+binutils@gadz.org>
PR ld/14902

View file

@ -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);