summaryrefslogtreecommitdiff
path: root/arch/microblaze/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/reloc.h')
-rw-r--r--arch/microblaze/reloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/reloc.h b/arch/microblaze/reloc.h
index 7bf3a5b0..f2f6c3a0 100644
--- a/arch/microblaze/reloc.h
+++ b/arch/microblaze/reloc.h
@@ -13,7 +13,7 @@
#define IS_COPY(x) ((x)==R_MICROBLAZE_COPY)
#define IS_PLT(x) ((x)==R_MICROBLAZE_JUMP_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,
@@ -38,6 +38,7 @@ static inline void do_single_reloc(
*reloc_addr = def.sym->st_value + addend;
break;
}
+ return 0;
}
#include "syscall.h"