linux-nat: Exploit /proc/<pid>/mem for writing
[deliverable/binutils-gdb.git] / bfd / elf64-s390.c
index edc9b861ea54a505f82146adcd8ec853457beb72..b5fd05f2630e53b67e3a32bfdb25f67a9b13539d 100644 (file)
@@ -3623,7 +3623,7 @@ elf_s390_finish_dynamic_symbol (bfd *output_bfd,
                       + h->root.u.def.section->output_offset);
       rela.r_info = ELF64_R_INFO (h->dynindx, R_390_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.026809 seconds and 4 git commands to generate.