Open
Description
docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md
should contain a warning in the section "TL;DR: What compiler options should I use?":
**NB:** `-Wl,--no-copy-dt-needed-entries` is not understood by `lld`, so if you use `-fuse-ld=lld` this flag needs to be dropped.
In fact I don't know which other linkers support this linker switch besides the BFD linker. But since the section starts out with:
[...] on compilers such as GCC and clang
it would make sense to point it out.