summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-05-27 14:18:45 -0700
committerVineet Gupta <vgupta@synopsys.com>2020-06-16 12:56:37 -0700
commitb7faf971081a4e56147f082234bfff55135305cb (patch)
tree3925b594a48b0af3bc859da8e854360a1cdfecd9 /arch/arc
parent33b59f1671f105a6da9c0aa75d7cf6bea126d2c5 (diff)
downloadlinux-b7faf971081a4e56147f082234bfff55135305cb.tar.gz
linux-b7faf971081a4e56147f082234bfff55135305cb.tar.bz2
linux-b7faf971081a4e56147f082234bfff55135305cb.zip
ARC: elf: use right ELF_ARCH
Cc: <stable@vger.kernel.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/include/asm/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h
index c77a0e3671ac..0284ace0e1ab 100644
--- a/arch/arc/include/asm/elf.h
+++ b/arch/arc/include/asm/elf.h
@@ -19,7 +19,7 @@
#define R_ARC_32_PCREL 0x31
/*to set parameters in the core dumps */
-#define ELF_ARCH EM_ARCOMPACT
+#define ELF_ARCH EM_ARC_INUSE
#define ELF_CLASS ELFCLASS32
#ifdef CONFIG_CPU_BIG_ENDIAN