This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc/rfa] VFP/NEON register set support for ARM core files

Alan Modra wrote:
> On Tue, Apr 05, 2011 at 08:50:14PM +0200, Ulrich Weigand wrote:
> > 	* elf-bfd.h (elfcore_write_arm_vfp): Add prototype.
> > 	* elf.c (elfcore_grok_arm_vfp): New function.
> > 	(elfcore_grok_note): Call it to handle NT_ARM_VFP notes.
> > 	(elfcore_write_arm_vfp): New function.
> > 	(elfcore_write_register_note): Call it to handle .reg-arm-vfp.
> Looks OK to me.

The kernel parts have now been accepted (and will be available
with 3.0), so I've committed the binutils and gbd parts as well.

Note that I had originally forgotten to update readelf to properly
display the new note type; the version I've committed includes
this part as well (see additional patch below).



	* readelf.c (get_note_type): Handle NT_ARM_VFP.

Index: binutils/readelf.c
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.547
diff -u -p -r1.547 readelf.c
--- binutils/readelf.c	13 Jun 2011 15:18:53 -0000	1.547
+++ binutils/readelf.c	15 Jun 2011 15:00:37 -0000
@@ -12284,6 +12284,8 @@ get_note_type (unsigned e_type)
 	return _("NT_S390_CTRS (s390 control registers)");
       case NT_S390_PREFIX:
 	return _("NT_S390_PREFIX (s390 prefix register)");
+      case NT_ARM_VFP:
+	return _("NT_ARM_VFP (arm VFP registers)");
       case NT_PSTATUS:
 	return _("NT_PSTATUS (pstatus structure)");
       case NT_FPREGS:

  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]