freebsd-dev/lib/libcompiler_rt
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
..
Makefile Fix llvm-libunwind userspace build on ARM 2019-11-05 03:20:40 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile.inc Add atomic and bswap functions to libcompiler_rt 2020-08-25 06:49:10 +00:00