From: Yufeng Zhang Date: Mon, 11 Nov 2013 10:26:41 +0000 (+0000) Subject: * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded X-Git-Tag: binutils-2_24~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3daef248f2a7f0f4fb2a3c4e0c34a160a6e252e8;p=thirdparty%2Fbinutils-gdb.git * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded size of struct elf_prstatus. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3da57c09859..d08d2c339ef 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-11-12 Matthew Leach + + * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded + size of struct elf_prstatus. + 2013-11-07 Roland McGrath * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't diff --git a/bfd/elfxx-aarch64.c b/bfd/elfxx-aarch64.c index 395c999d29a..129319dd0fe 100644 --- a/bfd/elfxx-aarch64.c +++ b/bfd/elfxx-aarch64.c @@ -500,7 +500,7 @@ _bfd_aarch64_elf_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) default: return FALSE; - case 408: /* sizeof(struct elf_prstatus) on Linux/arm64. */ + case 392: /* sizeof(struct elf_prstatus) on Linux/arm64. */ /* pr_cursig */ elf_tdata (abfd)->core->signal = bfd_get_16 (abfd, note->descdata + 12);