* elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded

size of struct elf_prstatus.
This commit is contained in:
Yufeng Zhang 2013-11-11 10:26:41 +00:00
parent e2b5892e6e
commit 3b570dee4f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-11-12 Matthew Leach <Matthew.Leach@arm.comm>
* elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded
size of struct elf_prstatus.
2013-11-11 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.

View File

@ -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);