* 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:26:41 +0000 (10:26 +0000)
size of struct elf_prstatus.

bfd/ChangeLog
bfd/elfxx-aarch64.c

index a1974b4e86c30ae3e32a8f492805db589b049a7e..fd82ee7cfbefdc66229b38f7790e3f18604dcede 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-11  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
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);