mirror of https://github.com/ARMmbed/mbed-os.git
Add unified syntax directives to make the atomic assembler work when GCC is building for M23. GCC actually uses unified syntax when compiling C code, but puts `.syntax divided` before each piece of inline assembly when targetting Thumb-1 type devices like M0 and M23 for backwards compatibility. We can overcome this with our own `.syntax unified`. The command-line option `-masm-syntax-unified` intended to override this globally has been broken from GCC 6 to 8.0. |
||
---|---|---|
.. | ||
mbed_atomic_impl.c | ||
mbed_atomic_impl.h |