diff options
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 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 */ |