From: Kamil Rytarowski Date: Fri, 13 Mar 2020 13:16:35 +0000 (+0100) Subject: Recognize aarch64 PT_GETREGS and PT_GETFPREGS notes on NetBSD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=015ec493d8603095d212df443e7b75017b572455;p=binutils-gdb.git Recognize aarch64 PT_GETREGS and PT_GETFPREGS notes on NetBSD * elf.c (elfcore_grok_netbsd_note): Add support for aarch64. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f5ad233ffa1..70774e5cfc8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2020-03-13 Kamil Rytarowski + + * elf.c (elfcore_grok_netbsd_note): Add support for aarch64. + 2020-03-13 Christian Eggers * bfd.c (bfd_record_phdr): New local "opb". Fix assignment of diff --git a/bfd/elf.c b/bfd/elf.c index 2d0001b4639..1926ecc8037 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -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)