Recognize aarch64 PT_GETREGS and PT_GETFPREGS notes on NetBSD

* elf.c (elfcore_grok_netbsd_note): Add support for aarch64.
This commit is contained in:
Kamil Rytarowski 2020-03-13 14:16:35 +01:00
parent 1673df3278
commit 015ec493d8
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2020-03-13 Kamil Rytarowski <n54@gmx.com>
* elf.c (elfcore_grok_netbsd_note): Add support for aarch64.
2020-03-13 Christian Eggers <ceggers@gmx.de>
* bfd.c (bfd_record_phdr): New local "opb". Fix assignment of

View File

@ -10768,6 +10768,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf_Internal_Note *note)
/* On the Alpha, SPARC (32-bit and 64-bit), PT_GETREGS == mach+0 and
PT_GETFPREGS == mach+2. */
case bfd_arch_aarch64:
case bfd_arch_alpha:
case bfd_arch_sparc:
switch (note->type)