bfd/
[deliverable/binutils-gdb.git] / ld / emultempl / ppc64elf.em
index 4f408a9fa29eb4f8c092a56fc8317270e507cdf1..6a60f0cde06f38b5e1e13d1c3454b7f030a319ac 100644 (file)
@@ -288,6 +288,7 @@ build_toc_list (lang_statement_union_type *statement)
 {
   if (statement->header.type == lang_input_section_enum
       && !statement->input_section.ifile->just_syms_flag
+      && (statement->input_section.section->flags & SEC_EXCLUDE) == 0
       && statement->input_section.section->output_section == toc_section)
     ppc64_elf_next_toc_section (&link_info, statement->input_section.section);
 }
@@ -298,6 +299,7 @@ build_section_lists (lang_statement_union_type *statement)
 {
   if (statement->header.type == lang_input_section_enum
       && !statement->input_section.ifile->just_syms_flag
+      && (statement->input_section.section->flags & SEC_EXCLUDE) == 0
       && statement->input_section.section->output_section != NULL
       && statement->input_section.section->output_section->owner == output_bfd)
     {
This page took 0.024639 seconds and 4 git commands to generate.