From: Alan Modra Date: Sat, 17 Oct 2015 09:31:15 +0000 (+1030) Subject: Correct powerpc64le __glink_PLTresolve .eh_frame FDE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f08fa5c12890bd9e5609910bfd89903b0dcde25;p=binutils-gdb.git Correct powerpc64le __glink_PLTresolve .eh_frame FDE * elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve eh_frame FDE for ELFv1. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d3715949f36..06be2d97e8e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2015-10-17 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve + eh_frame FDE for ELFv1. + 2015-10-16 H.J. Lu * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index e5344df446b..cda8e592cd8 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -12583,7 +12583,7 @@ ppc64_elf_size_stubs (struct bfd_link_info *info) *p++ = DW_CFA_advance_loc + 1; *p++ = DW_CFA_register; *p++ = 65; - *p++ = 12; + *p++ = htab->opd_abi ? 12 : 0; *p++ = DW_CFA_advance_loc + 4; *p++ = DW_CFA_restore_extended; *p++ = 65;