Define __start/__stop symbols when there is only a dynamic def

H.J. Lu hjl.tools@gmail.com
Wed Jan 31 13:41:00 GMT 2018
On Wed, Jan 31, 2018 at 5:02 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Wed, 31 Jan 2018, Alan Modra wrote:
>
>> On Tue, Jan 30, 2018 at 07:56:59PM -0800, H.J. Lu wrote:
>> > I think we should check ref_dynamic, not def_dynamic, for __start/__stiop
>> > symbols.
>>
>> Yes, I've thought about it a bit more and I think that would be
>> better.
>
> Only checking ref_dynamic would mean that my testcase doesn't work
> anymore.  I.e. the pacemaker situation wouldn't be improved and we could
> have spared the whole merry-go-round.

Are you really sure that your testcase:

https://sourceware.org/ml/binutils/2018-01/msg00432.html

doesn't have a reference from shared object?

-- 
H.J.



More information about the Binutils mailing list