.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
7 | 4 | */ |
---|
8 | 5 | |
---|
9 | 6 | #ifndef __ASM_ARC_ELF_H |
---|
10 | 7 | #define __ASM_ARC_ELF_H |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/types.h> |
---|
| 10 | +#include <linux/elf-em.h> |
---|
13 | 11 | #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 */ |
---|
19 | 12 | |
---|
20 | 13 | #define EM_ARC_INUSE (IS_ENABLED(CONFIG_ISA_ARCOMPACT) ? \ |
---|
21 | 14 | EM_ARCOMPACT : EM_ARCV2) |
---|