https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118977
--- Comment #7 from Federico Terraneo <fede.tft at miosix dot org> --- 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?
