Dimitry Andric 46c8c5540f Add atomic and bswap functions to libcompiler_rt
There have been several mentions on our mailing lists about missing
atomic functions in our system libraries (e.g. __atomic_load_8 and
friends), and recently I saw __bswapdi2 and __bswapsi2 mentioned too.

To address this, add implementations for the functions from compiler-rt
to the system compiler support libraries, e.g. libcompiler_rt.a and and
libgcc_s.so.

This also needs a small fixup in compiler-rt's atomic.c, to ensure that
32-bit mips can build correctly.

Bump __FreeBSD_version to make it easier for port maintainers to detect
when these functions were added.

MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D26159
2020-08-25 06:49:10 +00:00
..
2020-08-05 15:20:07 +00:00
2020-07-12 01:11:48 +00:00
2019-11-01 11:28:43 +00:00
2020-05-04 17:16:30 +00:00
2020-03-29 02:40:03 +00:00
2020-05-20 20:58:48 +00:00
2019-12-21 21:05:53 +00:00
2020-01-25 21:16:45 +00:00
2020-08-22 20:52:02 +00:00
2020-02-19 17:09:08 +00:00
2020-07-10 19:58:07 +00:00
2020-06-24 01:51:05 +00:00
2020-06-22 22:59:03 +00:00
2020-07-15 13:26:15 +00:00
2020-06-17 10:42:20 +00:00
2019-11-20 23:56:20 +00:00
2020-08-24 18:13:44 +00:00
2020-06-22 07:46:24 +00:00
2020-08-07 08:41:14 +00:00
2020-06-17 11:57:48 +00:00
2020-04-24 05:05:58 +00:00
2020-08-24 18:14:04 +00:00
2020-06-09 05:43:51 +00:00