diff -Nurpa -x '*~' -x '*.orig' -x '*.rej' -x '*.swp' bind-9.8.1-P1/lib/isc/powerpc/include/isc/atomic.h bind-9.8.1-P1/lib/isc/powerpc/include/isc/atomic.h --- bind-9.8.1-P1/lib/isc/powerpc/include/isc/atomic.h 2011-03-08 02:52:21.000000000 +0200 +++ bind-9.8.1-P1/lib/isc/powerpc/include/isc/atomic.h 2011-12-30 17:36:22.041967110 +0200 @@ -106,10 +106,10 @@ isc_atomic_xadd(isc_int32_t *p, isc_int3 __asm__ volatile ( #ifdef ISC_PLATFORM_USEMACASM "1:" - "lwarx r6, 0, %1\n" - "mr %0, r6\n" - "add r6, r6, %2\n" - "stwcx. r6, 0, %1\n" + "lwarx 6, 0, %1\n" + "mr %0, 6\n" + "add 6, 6, %2\n" + "stwcx. 6, 0, %1\n" "bne- 1b\n" "sync" #else @@ -134,9 +134,9 @@ isc_atomic_store(void *p, isc_int32_t va __asm__ volatile ( #ifdef ISC_PLATFORM_USEMACASM "1:" - "lwarx r6, 0, %0\n" - "lwz r6, %1\n" - "stwcx. r6, 0, %0\n" + "lwarx 6, 0, %0\n" + "lwz 6, %1\n" + "stwcx. 6, 0, %0\n" "bne- 1b\n" "sync" #else @@ -160,12 +160,12 @@ isc_atomic_cmpxchg(isc_int32_t *p, isc_i __asm__ volatile ( #ifdef ISC_PLATFORM_USEMACASM "1:" - "lwarx r6, 0, %1\n" - "mr %0,r6\n" - "cmpw r6, %2\n" + "lwarx 6, 0, %1\n" + "mr %0,6\n" + "cmpw 6, %2\n" "bne 2f\n" - "mr r6, %3\n" - "stwcx. r6, 0, %1\n" + "mr 6, %3\n" + "stwcx. 6, 0, %1\n" "bne- 1b\n" "2:\n" "sync"