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

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

Commit Message

John Baldwin Sept. 22, 2017, 10:57 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(+)
  

Patch

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9b4cb08d14..3436fe7304 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-09-22  John Baldwin  <jhb@FreeBSD.org>
+
+	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.
+
 2017-09-22  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/22170
diff --git a/bfd/elf.c b/bfd/elf.c
index 9b61f06a84..a5f8dd4c2d 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;
     }