*** empty log message ***
[deliverable/binutils-gdb.git] / ld / emultempl / elf32.em
index e1e37f16cc9c3c273ba90b9066b4d7a6664f843c..0425d15b78bf935cd1a11caeeb3a0bd5e0010aa4 100644 (file)
@@ -1363,8 +1363,9 @@ gld${EMULATION_NAME}_place_orphan (lang_input_statement_type *file, asection *s)
       if (os != NULL
          && (os->bfd_section == NULL
              || os->bfd_section->flags == 0
-             || ((!iself
-                  || sh_type == elf_section_type (os->bfd_section))
+             || (bfd_match_sections_by_type (output_bfd,
+                                             os->bfd_section,
+                                             s->owner, s)
                  && ((s->flags ^ os->bfd_section->flags)
                      & (SEC_LOAD | SEC_ALLOC)) == 0)))
        {
This page took 0.022808 seconds and 4 git commands to generate.