https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117630

--- Comment #18 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to R. Diez from comment #17)
> > > I haven't found any way to make the linker say why it is pulling certain
> > > symbols or object files.
> > 
> > That sounds like the GNU linker "-y" option (as in "-y symbol").  Does that
> > not DTRT?
> 
> That option didn't help me the last time I tried.

Ok, just wanted to check in case you'd overlooked it.  It has helped me in
similar situations, used by adding "-Wl,-y,symbol" to gcc options and together
with the previously mentioned -Map option.

Reply via email to