This is a series of patches that add support for the SPARC M7 cpu to
[deliverable/binutils-gdb.git] / bfd / elfxx-sparc.c
index 2a5eb01eb7b13d78c5001eb58dbab63b7465aa7d..d5f92d467173db3b0789e1e75e8fb41aa241ed48 100644 (file)
@@ -4908,10 +4908,17 @@ _bfd_sparc_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
 
   in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS];
   out_attr = &out_attrs[Tag_GNU_Sparc_HWCAPS];
+  
+  out_attr->i |= in_attr->i;
+  out_attr->type = 1;
 
+  in_attr = &in_attrs[Tag_GNU_Sparc_HWCAPS2];
+  out_attr = &out_attrs[Tag_GNU_Sparc_HWCAPS2];
+  
   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.024656 seconds and 4 git commands to generate.