bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/21964] __start_SCN symbols aren't exported anymore


From: matz at suse dot de
Subject: [Bug ld/21964] __start_SCN symbols aren't exported anymore
Date: Mon, 14 Aug 2017 20:25:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21964

--- Comment #9 from Michael Matz <matz at suse dot de> ---
(In reply to Michael Matz from comment #8)
> Looking at this, that ld-gc/pr20002 doesn't fail without the patch from
> comment #4 is a nice thing, but I think it succeeds for the wrong reasons. 

The testcase specifically works of course (without patch) because with new
binutils these symbols were hidden, and hence not part of the exported set,
so dynamic objects involved in the link couldn't have created this problem.

But I bet that if you build a shared lib with old binutils (so the __start
symbol is exported), and use new binutils to create a shared lib linking
against that old shared lib (in such a way that both contain same-named
orphane sections) then the same faults can be seen also without patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]