about summary refs log tree commit diff
path: root/arch/sh/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/reloc.h')
-rw-r--r--arch/sh/reloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/reloc.h b/arch/sh/reloc.h
index db3de081..a1393bb3 100644
--- a/arch/sh/reloc.h
+++ b/arch/sh/reloc.h
@@ -9,7 +9,7 @@
 #define IS_COPY(x) ((x) == R_SH_COPY)
 #define IS_PLT(x)  ((x) == R_SH_JMP_SLOT)
 
-static inline void do_single_reloc(
+static inline int do_single_reloc(
 	struct dso *self, unsigned char *base_addr,
 	size_t *reloc_addr, int type, size_t addend,
 	Sym *sym, size_t sym_size,
@@ -44,4 +44,5 @@ static inline void do_single_reloc(
 			: self->tls_offset + 8;
 		break;
 	}
+	return 0;
 }