History

Move EM_HEXAGON to uapi/linux/elf-em.h

This should never have been defined in the arch tree to begin with, and now uapi/linux/audit.h header is going to use EM_HEXAGON in order to define AUDIT_ARCH_HEXAGON 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.

Dmitry V. Levin committed 7 years ago

Commit f4780e21 parent 122a43b2 files · +2 −5Browse files

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

Unified · Split

include/uapi/linux/elf-em.h+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
3939 #define EM_BLACKFIN 106 /* ADI Blackfin Processor */
4040 #define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
4141 #define EM_TI_C6000 140 /* TI C6X DSPs */
42+#define EM_HEXAGON 164 /* QUALCOMM Hexagon */
4243 #define EM_AARCH64 183 /* ARM 64 bit */
4344 #define EM_TILEPRO 188 /* Tilera TILEPro */
4445 #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */