https://sourceware.org/bugzilla/show_bug.cgi?id=23078
--- Comment #2 from Vadzim Dambrouski ---
Hello Nick,
Thank you for suggestion, I've tried weakref, and does help with the case I
have posted above, but it still doesn't do exactly what I need.
Here is updated code:
// main.c --
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: pftbest at gmail dot com
Target Milestone: ---
Created attachment 10957
--> https://sourceware.org/bugzilla/attachment.cgi?id=10957&action=edit
Archive with code to reproduce this issue.
Examp