diff options
author | Alan Modra <amodra@bigpond.net.au> | 2006-02-04 00:15:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2006-02-04 10:45:08 +1030 |
commit | d67c1cb766f419eeec63f4a40ed1d635faa8e1f7 (patch) | |
tree | 62fcc694b6eb46afbb3fb6fb59d3f2f586f40fd6 /boehm-gc | |
parent | 510a8dd51d2e3c9b8eb51a11f323d5ed30675f81 (diff) | |
download | gcc-d67c1cb766f419eeec63f4a40ed1d635faa8e1f7.zip gcc-d67c1cb766f419eeec63f4a40ed1d635faa8e1f7.tar.gz gcc-d67c1cb766f419eeec63f4a40ed1d635faa8e1f7.tar.bz2 |
gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version.
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
use broken 64-bit version.
From-SVN: r110571
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 5 | ||||
-rw-r--r-- | boehm-gc/include/private/gc_locks.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index b180102..61bc00e 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2006-02-04 Alan Modra <amodra@bigpond.net.au> + + * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't + use broken 64-bit version. + 2006-01-25 Andreas Tobler <a.tobler@schweiz.ch> * darwin_stop_world.c: Change inline asm instruction to ld as ldz diff --git a/boehm-gc/include/private/gc_locks.h b/boehm-gc/include/private/gc_locks.h index 1faf2d3..4e2b641 100644 --- a/boehm-gc/include/private/gc_locks.h +++ b/boehm-gc/include/private/gc_locks.h @@ -139,7 +139,7 @@ # define GC_TEST_AND_SET_DEFINED # endif # if defined(POWERPC) -# if CPP_WORDSZ == 64 +# if 0 /* CPP_WORDSZ == 64 totally broken to use int locks with ldarx */ inline static int GC_test_and_set(volatile unsigned int *addr) { unsigned long oldval; unsigned long temp = 1; /* locked value */ |