-Wwrite-strings: Don't initialize string command variables to empty string
[deliverable/binutils-gdb.git] / bfd / elf32-arm.c
index 8171b0bd9a5ea6f27369f80d1ccf0c61957497c0..0a785951dcaeb42ad82e07dfa2ceac324a9dda1c 100644 (file)
@@ -16311,7 +16311,7 @@ elf32_arm_finish_dynamic_symbol (bfd * output_bfd,
                      + h->root.u.def.section->output_section->vma
                      + h->root.u.def.section->output_offset);
       rel.r_info = ELF32_R_INFO (h->dynindx, R_ARM_COPY);
-      if ((h->root.u.def.section->flags & SEC_READONLY) != 0)
+      if (h->root.u.def.section == htab->root.sdynrelro)
        s = htab->root.sreldynrelro;
       else
        s = htab->root.srelbss;
This page took 0.025733 seconds and 4 git commands to generate.