aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/module.c')
-rw-r--r--arch/parisc/kernel/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c
index f241ded9239b..1f0f29a289d3 100644
--- a/arch/parisc/kernel/module.c
+++ b/arch/parisc/kernel/module.c
@@ -786,6 +786,10 @@ int apply_relocate_add(Elf_Shdr *sechdrs,
786 /* 32-bit PC relative address */ 786 /* 32-bit PC relative address */
787 *loc = val - dot - 8 + addend; 787 *loc = val - dot - 8 + addend;
788 break; 788 break;
789 case R_PARISC_PCREL64:
790 /* 64-bit PC relative address */
791 *loc64 = val - dot - 8 + addend;
792 break;
789 case R_PARISC_DIR64: 793 case R_PARISC_DIR64:
790 /* 64-bit effective address */ 794 /* 64-bit effective address */
791 *loc64 = val + addend; 795 *loc64 = val + addend;