Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151020104019.GC10551@port70.net>
Date: Tue, 20 Oct 2015 12:40:21 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: musl mips n64 dynamic build

* 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.

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.