Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 26 Oct 2015 21:30:45 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Cc: Mahesh Bodapati <maheshbodapati90@...il.com>
Subject: Re: musl mips n64 dynamic build

On Tue, Oct 20, 2015 at 12:40:21PM +0200, Szabolcs Nagy wrote:
> * Mahesh Bodapati <maheshbodapati90@...il.com> [2015-10-20 15:14:04 +0530]:
> > Error relocating libc.so: unsupported relocation type 4611
> > Error relocating libc.so: unsupported relocation type 4611
> > Error relocating libc.so: unsupported relocation type 4611
> ....
> > *#define REL_SYM_OR_REL  R_MIPS_64         /*I didn't see R_MIPS_REL64  so
> > It is a composition of R_MIPS_64 and R_MIPS_REL relocations but i didn't
> > see R_MIPS_REL in elf.h. *
> > *
> >  how can i define REL_SYM_OR_REL for mips n64 abi   */*
> 
> i don't know what the n64 abi docs says, but this might be a hint:
> 
> glibc/sysdeps/mips/dl-machine.h has
> 
> #if _MIPS_SIM == _ABI64
>     case (R_MIPS_64 << 8) | R_MIPS_REL32:
> #else
>     case R_MIPS_REL32:
> #endif
> 
> where R_MIPS_64 << 8 | R_MIPS_REL32 is 4611.

This seems right. Mahesh, did you get a chance to try this? Does it
help?

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.