Fangrui Song ec81497cc7 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
2022-02-09 13:54:35 -05:00
..
2020-02-19 12:49:49 +00:00
2021-11-26 12:51:08 +01:00
2021-05-07 22:13:31 +02:00
2021-09-29 21:18:17 -06:00
2020-06-22 07:46:24 +00:00
2021-11-30 16:35:48 -07:00
2020-12-19 13:17:25 +00:00
2021-07-21 10:16:11 +01:00
2022-02-09 11:50:01 +01:00
2021-12-29 14:36:04 -08:00
2021-05-03 09:55:40 -06:00
2019-12-04 16:56:11 +00:00
2020-10-09 14:03:45 +00:00
2021-04-10 11:16:02 +02:00
2021-10-06 21:56:20 -08:00
2021-11-20 08:58:36 +01:00
2022-02-05 17:35:24 +00:00
2020-08-17 10:25:02 +00:00
2020-06-24 02:08:08 +00:00
2022-01-19 12:43:51 -07:00
2020-08-21 09:48:00 +00:00
2019-04-22 17:52:46 +00:00
2021-12-04 15:08:01 +01:00
2020-03-23 14:44:23 +00:00
2022-02-09 19:14:25 +01:00
2019-12-11 17:37:53 +00:00
2022-01-28 09:56:21 +01:00
2021-04-02 07:01:20 +00:00
2022-02-09 19:22:18 +01:00
2021-11-26 12:51:08 +01:00
2021-04-04 00:50:28 +03:00
2021-04-04 00:50:28 +03:00