Fix some dlx fails
[deliverable/binutils-gdb.git] / ld / ldlang.c
index 33f6bda292ad0524a507cc63a47bd4c92f7dae90..77d890eb704c02033acae80eff67c4212c30846f 100644 (file)
@@ -5619,8 +5619,9 @@ lang_size_sections_1
          break;
 
        case lang_object_symbols_statement_enum:
-         link_info.create_object_symbols_section =
-           output_section_statement->bfd_section;
+         link_info.create_object_symbols_section
+           = output_section_statement->bfd_section;
+         output_section_statement->bfd_section->flags |= SEC_KEEP;
          break;
 
        case lang_output_statement_enum:
This page took 0.024522 seconds and 4 git commands to generate.