commit | 68d873f3e69c9929154bbb461a9ee0326c19968d | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Sun Jun 30 23:26:16 2019 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Sun Jun 30 23:26:16 2019 -0700 |
tree | f744603ab9006149bdc05bad7d6ff45f09ef591a | |
parent | d950b33ffd7d3e68a9c7ad326d02b7eb0d2f94a7 [diff] |
Fixed bug 4683 - SDL_atomic infinite recursion on armv6/armv5 w/ thumb The real problem is that SDL_atomic.c was built in thumb mode instead of ARM mode, which is required to use the mcr instruction on ARM platforms. Added a compiler error to catch this case so we don't generate code that does infinite recursion. I also added a potentially better way to handle things on Linux ARM platforms, based on comments in the Chromium headers, which we can try out after 2.0.10 ships.