This is the mail archive of the
mailing list for the binutils project.
Re: powepc64le gold linking problem
- From: Jay Foad <jay dot foad at gmail dot com>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: Alan Modra <amodra at gmail dot com>, binutils at sourceware dot org
- Date: Mon, 24 Nov 2014 23:15:48 +0000
- Subject: Re: powepc64le gold linking problem
- Authentication-results: sourceware.org; auth=none
- References: <CANd1uZ==OJpGtmpYh3=kNSirC8SJ2YCVRzo+onipoh7OBSiDdA at mail dot gmail dot com> <20141124121555 dot GJ4477 at bubble dot grove dot modra dot org> <CANd1uZkszaGgYPEea8B60hmLOavF4+UN2T12fP2VBzpNMKw7UQ at mail dot gmail dot com> <20141124220936 dot GK4477 at bubble dot grove dot modra dot org> <1416870589 dot 16862 dot 21 dot camel at otta>
On 24 November 2014 at 23:09, Peter Bergner <email@example.com> wrote:
> On Tue, 2014-11-25 at 08:39 +1030, Alan Modra wrote:
>> The above code is finding the st_other bits in the symbol definition.
>> The generic BFD linker doesn't handle merging st_other, or anything
>> else ELF specific.
> It looks like Uli just fixed this:
Yes (thanks Uli!) but we don't understand why ld.bfd seemed to
tolerate the broken .o files being generated by Clang before it was
ld.bfd linked them into an executable that worked. ld.gold linked them
into an executable that crashed.