|
|
Message-ID: <20150604160708.GQ17573@brightrain.aerifal.cx>
Date: Thu, 4 Jun 2015 12:07:08 -0400
From: Rich Felker <dalias@...c.org>
To: Sebastian Gottschall <s.gottschall@...wrt.com>
Cc: musl@...ts.openwall.com
Subject: Re: stable 1.1.9 & current GIT broken on mips
On Thu, Jun 04, 2015 at 02:14:19PM +0200, Sebastian Gottschall wrote:
> nbd gave me the following patch he found in the IRC. i tested it and
> its working
>
>
> diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
> index 42930ad..f498327 100644
> --- a/src/ldso/dynlink.c
> +++ b/src/ldso/dynlink.c
> @@ -270,6 +270,8 @@ static void do_relocs(struct dso *dso, size_t
> *rel, size_t rel_size, size_t stri
> for (; rel_size; rel+=stride, rel_size-=stride*sizeof(size_t)) {
> if (skip_relative && IS_RELATIVE(rel[1])) continue;
> type = R_TYPE(rel[1]);
> + if (!type)
> + continue;
> sym_index = R_SYM(rel[1]);
> reloc_addr = (void *)(base + rel[0]);
> if (sym_index) {
Excellent. I've applied an equivalent fix to git master and it will be
in the 1.1.10 release (coming up soon).
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.