Index: bfd/elf.c
--- bfd/elf.c.orig
+++ bfd/elf.c
@@ -11994,6 +11994,11 @@ elfcore_grok_solaris_note (bfd *abfd, Elf_Internal_Not
 static bool
 elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
 {
+  int lwp;
+
+  if (elfcore_netbsd_get_lwpid (note, &lwp))
+    elf_tdata (abfd)->core->lwpid = lwp;
+
   if (note->type == NT_OPENBSD_PROCINFO)
     return elfcore_grok_openbsd_procinfo (abfd, note);
 
@@ -12022,6 +12027,9 @@ elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Not
 
       return true;
     }
+
+  if (note->type == NT_OPENBSD_PACMASK)
+    return elfcore_make_note_pseudosection (abfd, ".reg-aarch-pauth", note);
 
   return true;
 }
