summaryrefslogtreecommitdiffstats
path: root/arch/arc/include
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-09-12 16:50:50 -0700
committerVineet Gupta <vgupta@synopsys.com>2016-09-30 14:48:19 -0700
commit94f4fb0841bfa5c1088a1b3a879a65bdd675ecd2 (patch)
treedd237a8e66238f0607ba946b9a3cf65bcbc7e8db /arch/arc/include
parente0d5321faca1133cbb34a3a780d62a3a0814b6dc (diff)
downloadlinux-94f4fb0841bfa5c1088a1b3a879a65bdd675ecd2.tar.bz2
ARC: module: support R_ARC_32_PCREL relocation
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include')
-rw-r--r--arch/arc/include/asm/elf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h
index 51a99e25fe33..7096f97a1434 100644
--- a/arch/arc/include/asm/elf.h
+++ b/arch/arc/include/asm/elf.h
@@ -23,8 +23,7 @@
/* ARC Relocations (kernel Modules only) */
#define R_ARC_32 0x4
#define R_ARC_32_ME 0x1B
-#define R_ARC_S25H_PCREL 0x10
-#define R_ARC_S25W_PCREL 0x11
+#define R_ARC_32_PCREL 0x31
/*to set parameters in the core dumps */
#define ELF_ARCH EM_ARCOMPACT