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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to