[PATCH] dependency list for static libraries

Cary Coutant ccoutant@gmail.com
Tue Dec 15 20:33:44 GMT 2020


> > One big question
> > I still have is how to get this plugin to be used by default?
>
> I do not think that there is a way to guarantee this.  After all
> plugins, by design, are intended to be optional.
>
> Obviously if a build system is involved - one that is adding the
> --record-libdeps option when creating libraries - then it will be
> able to add the necessary linker command line option to invoke
> the plugin as well.

Did I miss any discussion about whether this feature should/could be
implemented directly in the linkers, rather than via a plugin? I
wouldn't be opposed to it.

-cary


More information about the Binutils mailing list