about summary refs log tree commit diff
path: root/arch/i386/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/reloc.h')
-rw-r--r--arch/i386/reloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/reloc.h b/arch/i386/reloc.h
index 3923b54b..bc86e96e 100644
--- a/arch/i386/reloc.h
+++ b/arch/i386/reloc.h
@@ -6,7 +6,7 @@
 #define IS_COPY(x) ((x)==R_386_COPY)
 #define IS_PLT(x) ((x)==R_386_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,
@@ -46,4 +46,5 @@ static inline void do_single_reloc(
 			: self->tls_offset;
 		break;
 	}
+	return 0;
 }