aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-10-17 20:01:15 +1030
committerAlan Modra <amodra@gmail.com>2015-10-17 20:17:58 +1030
commit9f08fa5c12890bd9e5609910bfd89903b0dcde25 (patch)
tree45686ceaaa615a22fef016987e7587130b07177f /bfd/elf64-ppc.c
parent0716a48d498253d45bc0f3b3b8c7dbe026283763 (diff)
downloadgdb-9f08fa5c12890bd9e5609910bfd89903b0dcde25.zip
gdb-9f08fa5c12890bd9e5609910bfd89903b0dcde25.tar.gz
gdb-9f08fa5c12890bd9e5609910bfd89903b0dcde25.tar.bz2
Correct powerpc64le __glink_PLTresolve .eh_frame FDE
* elf64-ppc.c (ppc64_elf_size_stubs): Correct __glink_PLTresolve eh_frame FDE for ELFv1.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index e5344df..cda8e59 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;