usage of the libdep plugin of LD

Marco Frigerio marco.frigerio17@protonmail.com
Tue Feb 14 09:45:23 GMT 2023


> Howard Chu wrote:
> 
> > Marco Frigerio via Binutils wrote:
> > 
> > > Hi,
> > > Is there a way of making sure that the libdep plugin of LD is used?
> > 
> > Not by default. You need to make sure ld is invoked with "-plugin .../libdep_plugin.so" yourself.


Thanks, it works now.
I am sorry I was reading an online version of the man page of LD which does not include the -plugin switch (I guess the page is outdated).

(Hopefully a mention to -plugin will also be added to the online docs https://sourceware.org/binutils/docs-2.40/ld/Plugins.html) 

Best,
 -MF




More information about the Binutils mailing list