Update sysdep/sh/locks.h with atomic builtins * sysdep/sh/locks.h (__cas_lock): Remove. (__cas_start_atomic, __cas_end_atomic): Likewise. (compare_and_swap): Call __sync_bool_compare_and_swap. From-SVN: r188640
* sysdep/sh/locks.h (read_barrier): New. (write_barrier): Likewise. From-SVN: r120735
* configure.host: Add SH support. * sysdep/sh/locks.h: New file. From-SVN: r55922