Fix attribute section output on sparc.
authorDavid S. Miller <davem@redhat.com>
Fri, 22 Mar 2013 15:54:21 +0000 (15:54 +0000)
committerDavid S. Miller <davem@redhat.com>
Fri, 22 Mar 2013 15:54:21 +0000 (15:54 +0000)
bfd/

* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of
hwcaps attribute.

bfd/ChangeLog
bfd/elfxx-sparc.c

index cef68c6f627b7d1b1e44ca08aeb6401f8963f5ec..a57684db5c4b48eb7b8ab7d3f4e055588f7ad200 100644 (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
index 9684ffd7a4d9ef294769cbc4a605bdfd3d705b02..596c8384bbeb16c167b274317009e2d373e2e058 100644 (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);
This page took 0.02802 seconds and 4 git commands to generate.