Re: __atomic_test_and_set() and mips o32 - help wanted

Jason Thorpe <[email protected]> Thu, 20 Nov 2025 10:29:48 +0100
Newsgroups gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> On Nov 20, 2025, at 10:24=E2=80=AFAM, Valery Ushakov =
<[email protected]> wrote:
>=20
> The devil is in the details.  gcc "millicode" often has custom ABI
> that is not suitable to be called across DSO boundary b/c of
> simplified/optimized calling conventions.  sh3 and hppa use millicode
> like that.

Sure, but NetBSD=E2=80=99s C run time already provides GCC-friendly =
__atomic_*() symbols on some platforms.

-- thorpej