PowerPC VLE typo fix
[deliverable/binutils-gdb.git] / bfd / elf32-cris.c
index a69c7e48767b87c69ea7a148b29f851447a99f7a..97b8cc3eb85c4c983d16fbaef68478c6deba2a97 100644 (file)
@@ -2275,7 +2275,7 @@ elf_cris_finish_dynamic_symbol (bfd *output_bfd,
                  && (h->root.type == bfd_link_hash_defined
                      || h->root.type == bfd_link_hash_defweak));
 
-      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.023981 seconds and 4 git commands to generate.