ARC: elf: use right ELF_ARCH
authorVineet Gupta <vgupta@synopsys.com>
Wed, 27 May 2020 21:18:45 +0000 (14:18 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 16 Jun 2020 19:56:37 +0000 (12:56 -0700)
Cc: <stable@vger.kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/elf.h

index c77a0e3..0284ace 100644 (file)
@@ -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