Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config/libatomic: require -latomic iff atomic.c doesn't link w/o it | наб | 2021-07-13 | 1 | -20/+14 |
| | | | | | | | | | | In absence of LTO, and dynamic libatomic, la.so ends up in the needs section of every toolchain executable; some consider this an issue. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12345 Closes #12359 | ||||
* | libspl: implement atomics in terms of atomics | наб | 2021-04-18 | 1 | -0/+34 |
This replaces the generic libspl atomic.c atomics implementation with one based on builtin gcc atomics. This functionality was added as an experimental feature in gcc 4.4. Today even CentOS 7 ships with gcc 4.8 as the default compiler we can make this the default. Furthermore, the builtin atomics are as good or better than our hand-rolled implementation so it's reasonable to drop that custom code. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11904 |