[2/4] Handle the NT_ARM_VFP core dump note on FreeBSD.

Message ID 20170914151831.65362-3-jhb@FreeBSD.org
State New, archived
Headers

Commit Message

John Baldwin Sept. 14, 2017, 3:18 p.m. UTC
  bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.
---
 bfd/ChangeLog | 4 ++++
 bfd/elf.c     | 3 +++
 2 files changed, 7 insertions(+)
  

Comments

Nick Clifton Oct. 5, 2017, 1:47 p.m. UTC | #1
Hi John,

> bfd/ChangeLog:
> 
> 	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.

Approved - please apply.

Cheers
  Nick
  

Patch

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3d807b9f6c..a2a1972793 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-09-14  John Baldwin  <jhb@FreeBSD.org>
+
+	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.
+
 2017-09-14  Nick Clifton  <nickc@redhat.com>
 
 	PR binutils/22113
diff --git a/bfd/elf.c b/bfd/elf.c
index 2aa2337724..1fb735d9a7 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -10011,6 +10011,9 @@  elfcore_grok_freebsd_note (bfd *abfd, Elf_Internal_Note *note)
       return elfcore_make_note_pseudosection (abfd, ".note.freebsdcore.lwpinfo",
 					      note);
 
+    case NT_ARM_VFP:
+      return elfcore_grok_arm_vfp (abfd, note);
+
     default:
       return TRUE;
     }