PR ld/13909
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index 9665d39bdf7c88332a535b889b8d58809dfaaf3f..98f1aa838fdc3936157864fe97c8b897cb207f34 100644 (file)
@@ -6244,7 +6244,8 @@ ppc_elf_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
   if (htab->glink != NULL
       && htab->glink->size != 0
       && htab->glink_eh_frame != NULL
-      && !bfd_is_abs_section (htab->glink_eh_frame->output_section))
+      && !bfd_is_abs_section (htab->glink_eh_frame->output_section)
+      && _bfd_elf_eh_frame_present (info))
     {
       s = htab->glink_eh_frame;
       s->size = sizeof (glink_eh_frame_cie) + 20;
This page took 0.024359 seconds and 4 git commands to generate.