K 10 svn:author V 7 git2svn K 8 svn:date V 27 2022-02-17T01:17:09.243641Z K 7 svn:log V 915 crunchgen: remove -dc from linker invocation In GNU ld and ld.lld, -dc is used with -r to allocate space to COMMON symbols. It is presumably to work around legacy code which cannot handle COMMON symbols in relocatable output. ld.lld may remove -dc or make it a no-op for the 15.0.0 release. As of 7420b323a014 crunch/crunchide does not require -dc, as the symbol hiding technique no longer relied on making symbols local. In addition -fno-common is now the default in Clang and GCC, so -dc serves no purpose as the compiler does not generate COMMON symbols anyway. See https://maskray.me/blog/2022-02-06-all-about-common-symbols for more detail on common symbols. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34215 (cherry picked from commit ec81497cc7260b26c2af615c54aa80f515d6c539) Git Hash: 332166892ef341664a733e581ea99c0adad17566 Git Author: i@maskray.me END