Enable support for atomic primitives on SPARC/Linux
commit2c328e58c5d7cca10dd404ad8f81ec7664db1fbf
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 11 Oct 2022 22:38:04 +0000 (12 00:38 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 11 Oct 2022 22:40:05 +0000 (12 00:40 +0200)
treee6ce059bb1691e547731e563264aadf5edad6d7d
parent53955284c031a17e6e49e730ef8947fe557ff35e
Enable support for atomic primitives on SPARC/Linux

The SPARC/Linux port is very similar to the SPARC/Solaris port nowadays so
it makes sense to copy the setting of the support for atomic primitives.

This fixes the single regression in the gnat.dg testsuite:
FAIL: gnat.dg/prot7.adb (test for excess errors)

gcc/ada/
* libgnat/system-linux-sparc.ads (Support_Atomic_Primitives): New
constant set to True.
gcc/ada/libgnat/system-linux-sparc.ads