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 Wed, 19 Nov 2025, David Holland wrote:

> Anyway, despite what the rest of the thread seems to think, surely
> it's not necessary to hack the compiler, just to provide a mips1
> implementation of the missing symbol on mips1 ports? Which can then be
> an ll/sc sequence to be emulated, or a RAS, or whatever else...

 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).

  Maciej


Home | Main Index | Thread Index | Old Index