forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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)