opcodes: sparc: support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index a058eca3abf03cc2f79601d170b2d6b9f9c459e5..e0e6c16fcd32b077228851597d087b98d053d9f0 100644 (file)
@@ -6189,7 +6189,7 @@ do_glob_dat:
                       + h->root.u.def.section->output_offset);
       rela.r_info = htab->r_info (h->dynindx, R_X86_64_COPY);
       rela.r_addend = 0;
-      if ((h->root.u.def.section->flags & SEC_READONLY) != 0)
+      if (h->root.u.def.section == htab->elf.sdynrelro)
        s = htab->elf.sreldynrelro;
       else
        s = htab->elf.srelbss;
This page took 0.023495 seconds and 4 git commands to generate.