summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-04 00:15:08 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-04 00:15:08 +0000
commit2ef322981549d35e684689bcb1f1060a5734e455 (patch)
tree62fcc694b6eb46afbb3fb6fb59d3f2f586f40fd6 /boehm-gc
parent1df2b8f4bfd3c8fa6486aca14f9f76337ea6d8a5 (diff)
downloadgcc-2ef322981549d35e684689bcb1f1060a5734e455.tar.gz
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
use broken 64-bit version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog5
-rw-r--r--boehm-gc/include/private/gc_locks.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index b1801026d58..61bc00e8521 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 1faf2d3d209..4e2b641b78b 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 */