git: 817e68d8e64a - main - readelf: add Arm address mask note type NT_ARM_ADDR_MASK

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 22 Feb 2022 19:50:52 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=817e68d8e64a4949a8b390b302738d45107aee49

commit 817e68d8e64a4949a8b390b302738d45107aee49
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-22 17:40:39 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-22 19:50:42 +0000

    readelf: add Arm address mask note type NT_ARM_ADDR_MASK
    
    Reviewed by:    andrew
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D34346
---
 contrib/elftoolchain/readelf/readelf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/elftoolchain/readelf/readelf.c b/contrib/elftoolchain/readelf/readelf.c
index 3d52802bd30b..fd8e75b66b56 100644
--- a/contrib/elftoolchain/readelf/readelf.c
+++ b/contrib/elftoolchain/readelf/readelf.c
@@ -1197,6 +1197,7 @@ note_type_freebsd_core(unsigned int nt)
 	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)";
+	case 0x406: return "NT_ARM_ADDR_MASK (arm address mask)";
 	default: return (note_type_unknown(nt));
 	}
 }