https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757
--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 30 Oct 2017, amodra at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757 > > --- Comment #7 from Alan Modra <amodra at gmail dot com> --- > > Bump st_name by one for __gnu_lto_ > > Better make that two. Some targets will have an extra '_' prefix. But then we won't match __gnu_lto_ anyway and the visibility trick fails? Also gnu_lto_* might alias with another symbol so we might end up with two undefs with the same name and conflicting visibility? I fear that in the end I'll be writing code to actually remove entries from symtab ... :/