]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
linux-atomic.c (__sync_lock_test_and_set_1): Fix type.
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 17 Aug 2012 12:33:09 +0000 (12:33 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Fri, 17 Aug 2012 12:33:09 +0000 (12:33 +0000)
* config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
type.

From-SVN: r190480

libgcc/ChangeLog
libgcc/config/m68k/linux-atomic.c

index 69862e2395a451547bb6c26dcc3027123d80b5ba..e3f991d094d08d328189ca85a85a0fe65f9f60ec 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
+       type.
+
 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
 
        * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
index 6e81d6b5d5e91ddb98d6eec660c786f40038c331..a2bba596d533cc0b7b35cc831fab58e5be0cdb84 100644 (file)
@@ -1,5 +1,5 @@
 /* Linux-specific atomic operations for m68k Linux.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011, 2012 Free Software Foundation, Inc.
    Based on code contributed by CodeSourcery for ARM EABI Linux.
 
 This file is part of GCC.
@@ -207,5 +207,5 @@ SUBWORD_BOOL_CAS (unsigned char,  1)
 #define COMMA ,
 
 WORD_SYNC_OP (test_and_set, , COMMA, oldval)
-SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned short, 1, oldval)
+SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned char, 1, oldval)
 SUBWORD_SYNC_OP (test_and_set, , COMMA, unsigned short, 2, oldval)