bfd: fix handling of R_BPF_INSN_{32,64} relocations.
[deliverable/binutils-gdb.git] / bfd / elf32-tic6x.c
index d07902fe8a76e9e6c800fc7c372efa77961d1ba9..20e4324b0961d35f837e0d68e281039554e1a250 100644 (file)
@@ -3866,6 +3866,9 @@ elf32_tic6x_merge_attributes (bfd *ibfd, struct bfd_link_info *info)
 
        case Tag_ABI_PIC:
        case Tag_ABI_PID:
+         /* Don't transfer these tags from dynamic objects.  */
+         if ((ibfd->flags & DYNAMIC) != 0)
+           continue;
          if (out_attr[i].i > in_attr[i].i)
            out_attr[i].i = in_attr[i].i;
          break;
This page took 0.023188 seconds and 4 git commands to generate.