diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/module.c b/arch/sh/kernel/module.c index ae0be697a89e..19b1f8826aef 100644 --- a/arch/sh/kernel/module.c +++ b/arch/sh/kernel/module.c | |||
@@ -93,6 +93,8 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, | |||
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | switch (ELF32_R_TYPE(rel[i].r_info)) { | 95 | switch (ELF32_R_TYPE(rel[i].r_info)) { |
96 | case R_SH_NONE: | ||
97 | break; | ||
96 | case R_SH_DIR32: | 98 | case R_SH_DIR32: |
97 | value = get_unaligned(location); | 99 | value = get_unaligned(location); |
98 | value += relocation; | 100 | value += relocation; |