This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Define __start/__stop symbols when there is only a dynamic def
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>, Michael Matz <matz at suse dot de>
- Date: Sat, 27 Jan 2018 09:14:32 -0800
- Subject: Re: Define __start/__stop symbols when there is only a dynamic def
- Authentication-results: sourceware.org; auth=none
- References: <20180126052959.GB20622@bubble.grove.modra.org> <d7e54f35-6f60-cc7c-4f21-23bff5de73a0@redhat.com> <CAMe9rOqVQnaJU4xKfRxPiO9yMADw99BJXZSwRZma=e2F8gX8zg@mail.gmail.com> <CAMe9rOp0xkLM4UKR=x78GVSHrvKQfvqw2WesrxNRteS84H_nZQ@mail.gmail.com> <CAMe9rOp9gzR+Hxh7-dXJminPDKcHGzKG=LnRAtNLnBn3=RTodg@mail.gmail.com> <CAMe9rOpo00T2g7eVHPbMeBV1bKi8QbFOrwr1ce9_OYR=U27V4w@mail.gmail.com> <20180127032936.GE20622@bubble.grove.modra.org>
On Fri, Jan 26, 2018 at 7:29 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Jan 26, 2018 at 10:02:38AM -0800, H.J. Lu wrote:
>> I don't quite understand what issues Alan's patch is trying to fix.
>> Alan, do you have a testcase to show that it fails without your
>> change?
>
> See the thread starting with
> https://sourceware.org/ml/binutils/2018-01/msg00265.html
Michael opened PR ld/21964:
http://lists.gnu.org/archive/html/bug-binutils/2017-08/msg00195.html
which is exactly the same issue. PR ld/21964 is fixed with testcases.
Apparently, PR ld/21964 testcases in binutils source tree don't cover
his use case since he still has problems. I'd like to know what use cases
which PR ld/21964 testcases don't cover.
--
H.J.