* [PATCH] [Arm] Recognize the NT_ARM_SYSTEM_CALL register set
@ 2022-04-04 9:33 Luis Machado
2022-04-07 13:50 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Luis Machado @ 2022-04-04 9:33 UTC (permalink / raw)
To: binutils
Update binutils to recognize the NT_ARM_SYSTEM_CALL set that is dumped by
Linux to core files.
---
binutils/readelf.c | 2 ++
include/elf/common.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 84c8cfd45fc..a9207b0178c 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -19379,6 +19379,8 @@ get_note_type (Filedata * filedata, unsigned e_type)
return _("NT_ARM_HW_BREAK (AArch hardware breakpoint registers)");
case NT_ARM_HW_WATCH:
return _("NT_ARM_HW_WATCH (AArch hardware watchpoint registers)");
+ case NT_ARM_SYSTEM_CALL:
+ return _("NT_ARM_SYSTEM_CALL (AArch system call number)");
case NT_ARM_SVE:
return _("NT_ARM_SVE (AArch SVE registers)");
case NT_ARM_PAC_MASK:
diff --git a/include/elf/common.h b/include/elf/common.h
index ad62a7d8523..e4bc53e35b4 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -675,6 +675,8 @@
/* note name must be "LINUX". */
#define NT_ARM_HW_WATCH 0x403 /* AArch hardware watchpoint registers */
/* note name must be "LINUX". */
+#define NT_ARM_SYSTEM_CALL 0x404 /* AArch ARM system call number */
+ /* note name must be "LINUX". */
#define NT_ARM_SVE 0x405 /* AArch SVE registers. */
/* note name must be "LINUX". */
#define NT_ARM_PAC_MASK 0x406 /* AArch pointer authentication code masks */
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [Arm] Recognize the NT_ARM_SYSTEM_CALL register set
2022-04-04 9:33 [PATCH] [Arm] Recognize the NT_ARM_SYSTEM_CALL register set Luis Machado
@ 2022-04-07 13:50 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2022-04-07 13:50 UTC (permalink / raw)
To: Luis Machado, binutils
Hi Luis,
> Update binutils to recognize the NT_ARM_SYSTEM_CALL set that is dumped by
> Linux to core files.
Patch approved - please apply.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-07 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 9:33 [PATCH] [Arm] Recognize the NT_ARM_SYSTEM_CALL register set Luis Machado
2022-04-07 13:50 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).