• R
    fix arm thread-pointer/atomic asm when compiling to thumb code · e783efa6
    Rich Felker 提交于
    armv7/thumb2 provides a way to do atomics in thumb mode, but for armv6
    we need a call to arm mode.
    
    this commit is based on a patch by Stephen Thomas which fixed the
    armv7 cases but not the armv6 ones.
    
    all of this should be revisited if/when runtime selection of thread
    pointer access and atomics are added.
    e783efa6
atomic.h 2.7 KB