This is the mail archive of the
mailing list for the binutils project.
Re: PPC64 GOT alignment trouble
- From: Andrew Stubbs <andrew_stubbs at mentor dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Andrew Stubbs <ams at codesourcery dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 20 Oct 2015 13:59:15 +0100
- Subject: Re: PPC64 GOT alignment trouble
- Authentication-results: sourceware.org; auth=none
- References: <561F7683 dot 7070304 at codesourcery dot com> <561F8E92 dot 2060002 at codesourcery dot com> <20151015142143 dot GC13961 at bubble dot grove dot modra dot org> <5621240F dot 9010901 at codesourcery dot com> <20151018015103 dot GF13961 at bubble dot grove dot modra dot org> <5624B695 dot 8090909 at codesourcery dot com> <20151019110056 dot GI13961 at bubble dot grove dot modra dot org> <562505C2 dot 2090407 at mentor dot com> <20151020000954 dot GL13961 at bubble dot grove dot modra dot org>
On 20/10/15 01:09, Alan Modra wrote:
No, the main difference is that you have a powerpc-linux target while
I have powerpc64-linux. Your binutils has support for
powerpc64-linux, but I doubt you are testing powerpc64-linux.
OK, so having figured out that my test scripts don't do what I thought
they did for the ld testsuite, I find that, yes, this warning breaks a
number of architecture independent test cases that use linker scripts
with no alignments defined.
However ... this is not a surprise: this is exactly the sort of thing I
was trying to detect, because this is exactly the sort of thing I got
This is a problem because the testsuite needs to work, and yet avoiding
some inconvenience in the testsuite seems like a poor justification for
pulling the rug from under real users. But there isn't an obvious fix
for the testsuite besides editing all the scripts, and that may not be safe.