Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 02:11:00 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354842 - head/contrib/elftoolchain/readelf
Message-ID:  <201911190211.xAJ2B0pI017869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Nov 19 02:11:00 2019
New Revision: 354842
URL: https://svnweb.freebsd.org/changeset/base/354842

Log:
  ELF toolchain: Add PowerPC VMX and VSX note decode to readelf
  
  Summary: A follow-on to r276634, which added the VMX note to userland cores,
  and r334538 for VSX notes.
  
  Copied from note_type_linux_core().
  
  Reviewed by:	emaste
  Differential Revision:	https://reviews.freebsd.org/D22404

Modified:
  head/contrib/elftoolchain/readelf/readelf.c

Modified: head/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- head/contrib/elftoolchain/readelf/readelf.c	Tue Nov 19 02:09:04 2019	(r354841)
+++ head/contrib/elftoolchain/readelf/readelf.c	Tue Nov 19 02:11:00 2019	(r354842)
@@ -1180,6 +1180,8 @@ note_type_freebsd_core(unsigned int nt)
 	case 15: return "NT_PROCSTAT_PSSTRINGS";
 	case 16: return "NT_PROCSTAT_AUXV";
 	case 17: return "NT_PTLWPINFO";
+	case 0x100: return "NT_PPC_VMX (ppc Altivec registers)";
+	case 0x102: return "NT_PPC_VSX (ppc VSX registers)";
 	case 0x202: return "NT_X86_XSTATE (x86 XSAVE extended state)";
 	case 0x400: return "NT_ARM_VFP (arm VFP registers)";
 	default: return (note_type_unknown(nt));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911190211.xAJ2B0pI017869>