diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 70d4e56fedf..1c9edaf7c7b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-11-14 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for user + .eh_frame info. + 2017-11-13 Jan Beulich * coff-tic80.c (COFF_ENCODE_ALIGNMENT, COFF_DECODE_ALIGNMENT): diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 181bbdc56df..31ee4123b8e 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -12700,7 +12700,7 @@ ppc64_elf_size_stubs (struct bfd_link_info *info) if (htab->glink_eh_frame != NULL && !bfd_is_abs_section (htab->glink_eh_frame->output_section) - && htab->glink_eh_frame->output_section->size != 0) + && htab->glink_eh_frame->output_section->size > 8) { size_t size = 0, align = 4;