History

elf-em.h: add EM_CSKY

The uapi/linux/audit.h header is going to use EM_CSKY in order to define AUDIT_ARCH_CSKY which is needed to implement syscall_get_arch() which in turn is required to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. The value for EM_CSKY has been taken from arch/csky/include/asm/elf.h and confirmed by binutils:include/elf/common.h

Dmitry V. Levin committed 7 years ago

Commit 077b9301 parent dc3e0892 files · +2 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/elf-em.h+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
43#define EM_TILEGX 191 /* Tilera TILE-Gx */43#define EM_TILEGX 191 /* Tilera TILE-Gx */
44#define EM_RISCV 243 /* RISC-V */44#define EM_RISCV 243 /* RISC-V */
45#define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */45#define EM_BPF 247 /* Linux BPF - in-kernel virtual machine */
46#define EM_CSKY 252 /* C-SKY */
46#define EM_FRV 0x5441 /* Fujitsu FR-V */47#define EM_FRV 0x5441 /* Fujitsu FR-V */
47 48
48/*49/*