diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-08-17 12:33:09 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2012-08-17 12:33:09 +0000 |
commit | 5615a07d0ca68ca60d096661ff8c618b666eaba0 (patch) | |
tree | 6f67d8868428422abf9d1c80878a411c31a4ba45 /libgcc | |
parent | 7f3f8d3fe53b1356e6f5c9017ac21acf4ca58192 (diff) | |
download | gcc-5615a07d0ca68ca60d096661ff8c618b666eaba0.zip gcc-5615a07d0ca68ca60d096661ff8c618b666eaba0.tar.gz gcc-5615a07d0ca68ca60d096661ff8c618b666eaba0.tar.bz2 |
linux-atomic.c (__sync_lock_test_and_set_1): Fix type.
* config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
type.
From-SVN: r190480
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config/m68k/linux-atomic.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 69862e2..e3f991d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 diff --git a/libgcc/config/m68k/linux-atomic.c b/libgcc/config/m68k/linux-atomic.c index 6e81d6b..a2bba59 100644 --- a/libgcc/config/m68k/linux-atomic.c +++ b/libgcc/config/m68k/linux-atomic.c @@ -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) |