summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/reloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/reloc.h b/arch/mips/reloc.h
index 4ca81257..08d139da 100644
--- a/arch/mips/reloc.h
+++ b/arch/mips/reloc.h
@@ -19,7 +19,7 @@
#define IS_COPY(x) ((x)==R_MIPS_COPY)
#define IS_PLT(x) 1
-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,
@@ -48,6 +48,7 @@ static inline void do_single_reloc(
: self->tls_offset - 0x7000;
break;
}
+ return 0;
}
void __reloc_self(int c, size_t *a, size_t *dynv, size_t *got)