summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-05-27 14:18:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 09:10:03 +0200
commit42de40acb7a8c56b9ba753c8884ddf8e31f9ce31 (patch)
treefcea0536749b52e2dc2a7b41e0b791f0d04048cb /arch
parent58022159325f77b18bb27aad2431079da10457de (diff)
ARC: elf: use right ELF_ARCH
commit b7faf971081a4e56147f082234bfff55135305cb upstream. Cc: <stable@vger.kernel.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-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 8ee9113b2f8b..b060eb8ad91b 100644
--- a/arch/arc/include/asm/elf.h
+++ b/arch/arc/include/asm/elf.h
@@ -27,7 +27,7 @@
#define R_ARC_S25W_PCREL 0x11
/*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