Recognize the NT_ARM_SYSTEM_CALL register set
authorLuis Machado <luis.machado@arm.com>
Mon, 4 Apr 2022 08:38:48 +0000 (09:38 +0100)
committerLuis Machado <luis.machado@arm.com>
Thu, 7 Apr 2022 14:21:45 +0000 (15:21 +0100)
Update binutils to recognize the NT_ARM_SYSTEM_CALL set that is dumped by
Linux to core files.

binutils/readelf.c
include/elf/common.h

index 84c8cfd45fcd6695cd566da78fa7637705d76b7c..a9207b0178cec595fc94333e2ae79ce018043280 100644 (file)
@@ -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:
index ad62a7d85236f71a9eebc7ad694bb84cff3cbd83..e4bc53e35b413508a333a19b31b057ae23071509 100644 (file)
                                        /*   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 */