usage of the libdep plugin of LD

Marco Frigerio marco.frigerio17@protonmail.com
Mon Feb 13 16:55:06 GMT 2023


Hi,
Is there a way of making sure that the libdep plugin of LD is used?

I have a static .a library with the __.LIBDEP section, but linking it to an executable raises linking errors.

All the errors go away if I specify manually the same '-lXXX' which is written in __.LIBDEP, suggesting that the latter is ignored.

GNU Binutils v 2.38, gcc 11.3.0, on Ubuntu Linux.

I could not find anything in the man pages, and the LD docs (section 4) do not say anything about enabling/loading plugins.

I hope this is the right place for this kind of questions, my apologies otherwise.
Thanks
 - MF


More information about the Binutils mailing list