This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: problem with binutils 2.29 for microblaze
- From: Waldemar Brodkorb <wbx at openadk dot org>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Waldemar Brodkorb <wbx at openadk dot org>, binutils at sourceware dot org, Thomas Petazzoni <thomas dot petazzoni at free-electrons dot com>, Rich Felker <dalias at libc dot org>
- Date: Tue, 8 Aug 2017 18:45:25 +0200
- Subject: Re: problem with binutils 2.29 for microblaze
- Authentication-results: sourceware.org; auth=none
- References: <20170805180418.GC16580@waldemar-brodkorb.de> <20170806005127.GB3406@bubble.grove.modra.org>
- Reply-to: Waldemar Brodkorb <mail at waldemar-brodkorb dot de>
Hi Alan,
Alan Modra wrote,
> From a quick look at uclibc-ng support for microblaze, I see that
> PERFORM_BOOTSTRAP_RELOC in ldso/ldso/microblaze/dl-startup.h only
> handles R_MICROBLAZE_REL. Your conclusion that R_MICROBLAZE_NONE
> breaks ld.so self relocation is correct.
>
> > https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/tree/ldso/ldso/dl-startup.c#n262
> >
> > So is it a bug in uClibc-ng ld.so or a bug in binutils?
>
> Both, I would say. uclibc-ng for not handling _NONE relocs, binutils
> for generating them in the first place.
Ah, thanks for heads up. I fixed the missing _NONE relocs handling.
So we have fixes in binutils and uClibc-ng, great!
best regards
Waldemar