aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-11-11 10:26:41 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2013-11-11 10:26:41 +0000
commit3b570dee4f42f8229b8defdf4360dc0f52e820a0 (patch)
tree5a13b872c6fb00bd23312e1e77c9b90dea17d5d2 /bfd
parente2b5892e6e75109898db1cfbda2975fa422ba762 (diff)
downloadgdb-3b570dee4f42f8229b8defdf4360dc0f52e820a0.zip
gdb-3b570dee4f42f8229b8defdf4360dc0f52e820a0.tar.gz
gdb-3b570dee4f42f8229b8defdf4360dc0f52e820a0.tar.bz2
* elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded
size of struct elf_prstatus.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-aarch64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a1974b4..fd82ee7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elfxx-aarch64.c b/bfd/elfxx-aarch64.c
index 395c999..129319d 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);