]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-coded
authorYufeng Zhang <yufeng.zhang@arm.com>
Mon, 11 Nov 2013 10:26:41 +0000 (10:26 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Mon, 11 Nov 2013 10:31:10 +0000 (10:31 +0000)
size of struct elf_prstatus.

bfd/ChangeLog
bfd/elfxx-aarch64.c

index 3da57c0985972f08900e8b29d672e8dce82d9249..d08d2c339ef140ead2afe675a770d4b145c10cdb 100644 (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-07  Roland McGrath  <mcgrathr@google.com>
 
        * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't
index 395c999d29af06d3aa9c4a6c2ce3777bec863e35..129319dd0fea5fa035cb1d1963ed09ccd02ee82b 100644 (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);