diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 70d4e56..1c9edaf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-11-14 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for user + .eh_frame info. + 2017-11-13 Jan Beulich <jbeulich@suse.com> * coff-tic80.c (COFF_ENCODE_ALIGNMENT, COFF_DECODE_ALIGNMENT): diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 181bbdc..31ee412 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; |