X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fpowerpc%2Freloc.h;h=d5ba74a723154b55825966d3d992fcde03745f37;hb=bfa09700b927c99cff5263483c1d7a4d1fe766e5;hp=38034c5642b6d684759a68262bb0dd3e5a2953e6;hpb=b20760c02318fa6da228587c401a8b2bb22a1aab;p=musl diff --git a/arch/powerpc/reloc.h b/arch/powerpc/reloc.h index 38034c56..d5ba74a7 100644 --- a/arch/powerpc/reloc.h +++ b/arch/powerpc/reloc.h @@ -7,7 +7,7 @@ #define IS_PLT(x) ((x)==R_PPC_JMP_SLOT) // see linux' arch/powerpc/include/asm/elf.h -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, @@ -37,6 +37,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)