OSDN Git Service

* builtins.c (expand_builtin_compare_and_swap): If target is const0,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d2cdaa9..3f72d60 100644 (file)
@@ -1,3 +1,16 @@
+2011-11-12  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (expand_builtin_compare_and_swap): If target is const0,
+       don't pass the target to expand_atomic_compare_and_swap.
+       (expand_builtin_atomic_compare_exchange): Likewise.
+
+       * config/sh/linux.h (TARGET_INIT_LIBFUNCS): New.
+       * config/sh/sh.c (sh_init_sync_libfuncs): New.
+
+       * config/pa/pa-linux.h (TARGET_SYNC_LIBCALL): New.
+       * config/pa/pa.h (TARGET_SYNC_LIBCALL): New default.
+       * config/pa/pa.c (pa_init_libfuncs): Use init_sync_libfuncs.
+
 2011-11-12  Iain Sandoe  <iains@gcc.gnu.org>
 
        PR target/45233