hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/arc/include/asm/elf.h
....@@ -1,21 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #ifndef __ASM_ARC_ELF_H
107 #define __ASM_ARC_ELF_H
118
129 #include <linux/types.h>
10
+#include <linux/elf-em.h>
1311 #include <uapi/asm/elf.h>
14
-
15
-/* These ELF defines belong to uapi but libc elf.h already defines them */
16
-#define EM_ARCOMPACT 93
17
-
18
-#define EM_ARCV2 195 /* ARCv2 Cores */
1912
2013 #define EM_ARC_INUSE (IS_ENABLED(CONFIG_ISA_ARCOMPACT) ? \
2114 EM_ARCOMPACT : EM_ARCV2)