https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118977
--- Comment #9 from Joel Sherrill <joel at gcc dot gnu.org> --- (In reply to Federico Terraneo from comment #7) > In the related bug report on ARM CPUs > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122078) I provided a patch > that should solve the issue for all architectures, including m68k, but we > need help with testing it to propose the patch upstream. > > Could you test it on m68k-rtems7-gcc and check the patch solves the > "undefined reference to `__atomic_test_and_set'" issue? I tested ARM and m68k tools and it seems to be OK. Can this be put on the GCC 15 branch as well as master?
