glibc/sysdeps/sparc
Adhemerval Zanella 3b5ebe85aa sparc: Use atomic compiler builtins on sparc
This patch removes the arch-specific atomic instruction, relying on
compiler builtins.  The __sparc32_atomic_locks support is removed
and a configure check is added to check if compiler uses libatomic
to implement CAS.

It also removes the sparc specific sem_* and pthread_barrier_*
implementations.  It in turn allows buidling against a LEON3/LEON4
sparcv8 target, although it will still be incompatible with generic
sparcv9.

Checked on sparcv9-linux-gnu and sparc64-linux-gnu.  I also checked
with build against sparcv8-linux-gnu with -mcpu=leon3.

Tested-by: Andreas Larsson <andreas@gaisler.com>
2019-11-27 10:31:13 -03:00
..
bits Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
fpu Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
nptl nptl: Add default pthread-offsets.h 2019-11-26 13:53:36 +00:00
sparc32 sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
sparc64 sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
sys Update. 1997-06-29 22:05:27 +00:00
abort-instr.h Update. 2001-04-06 22:47:29 +00:00
atomic-machine.h sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
backtrace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
configure sparc: Assume GOTDATA support in the toolchain 2019-10-09 19:15:33 +02:00
configure.ac sparc: Assume GOTDATA support in the toolchain 2019-10-09 19:15:33 +02:00
cpu_relax.c sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
crti.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
crtn.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-dtprocnum.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-procinfo.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-procinfo.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-sysdep.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dl-tls.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
gccframe.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldsodefs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
machine-gmon.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile sparc: Use atomic compiler builtins on sparc 2019-11-27 10:31:13 -03:00
mempcpy.S Optimize mempcpy on sparc. 2012-03-28 22:35:26 -07:00
memusage.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
preconfigure Remove 32 bit sparc v7 support 2019-11-27 09:37:57 -03:00
sparc-ifunc.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sparc-mcount.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stackinfo.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Subdirs Update. 2000-06-14 00:55:24 +00:00
sysdep.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00