|
Date: Sat, 06 Jun 2015 11:42:36 -0400 From: "Anthony G. Basile" <basile@...nsource.dyc.edu> To: musl@...ts.openwall.com Subject: Re: stable 1.1.9 & current GIT broken on mips On 6/4/15 12:07 PM, Rich Felker wrote: > 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 > I can confirm that this fix the build on the lemote fuloongs which are little endian mips-III. 1.1.9 was broken there. -- Anthony G. Basile, Ph. D. Chair of Information Technology D'Youville College Buffalo, NY 14201 (716) 829-8197
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.