From 083a5534142f4615f9fc4f01a5e9b7be4ef1bee9 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 16 Dec 2011 00:08:06 +0000 Subject: [PATCH] * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case to correspond to a smaller ELF_NGREG defined by the kernel. --- bfd/ChangeLog | 5 +++++ bfd/elf32-am33lin.c | 1 + 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3048a1a..2cc2bc7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-12-15 Kevin Buettner + + * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case + to correspond to a smaller ELF_NGREG defined by the kernel. + 2011-12-15 H.J. Lu * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to diff --git a/bfd/elf32-am33lin.c b/bfd/elf32-am33lin.c index 177a714..dd2aed4 100644 --- a/bfd/elf32-am33lin.c +++ b/bfd/elf32-am33lin.c @@ -50,6 +50,7 @@ elf32_am33lin_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) default: return FALSE; + case 184: case 188: /* Linux/am33 */ /* pr_cursig */ elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12); -- 2.7.4