openrisc/or1k-gcc — pull request #7 by bluecmd (2014-07-12 16:58:17+00:00)
Title: or1k: Add support for using the native atomics.

This adds support for the __sync and __atomics builtins for 1, 2 and 4
bytes of memory. Since the native instructions only protect a full word,
use 4 bytes where possible.