Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: __atomic_test_and_set() and mips o32 - help wanted
On Thu, Nov 20, 2025 at 07:19:10 +0100, Jason Thorpe wrote:
> > On Nov 19, 2025, at 11:45 PM, Maciej W. Rozycki <macro%orcam.me.uk@localhost> wrote:
> >
> > There's no quotation of the link failure message referring the missing
> > symbol, but I'm fairly sure the symbol is a libcall for an unimplemented
> > feature of libgcc, a part of the compiler, so hacking the compiler is what
> > indeed is needed (IOW the missing part needs to be added to libgcc if you
> > do want to avoid emitting LL/SC from the compiler).
>
> NetBSD could certainly provide that in its own C run-time.
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.
-uwe
Home |
Main Index |
Thread Index |
Old Index