diff options
Diffstat (limited to 'src/runtime/race_ppc64le.s')
-rw-r--r-- | src/runtime/race_ppc64le.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race_ppc64le.s b/src/runtime/race_ppc64le.s index ac335b1819..2826501462 100644 --- a/src/runtime/race_ppc64le.s +++ b/src/runtime/race_ppc64le.s @@ -362,7 +362,7 @@ TEXT sync∕atomic·CompareAndSwapUintptr(SB), NOSPLIT, $0-25 TEXT racecallatomic<>(SB), NOSPLIT, $0-0 // Trigger SIGSEGV early if address passed to atomic function is bad. MOVD (R6), R7 // 1st arg is addr - MOVD (R7), R9 // segv here if addr is bad + MOVB (R7), R9 // segv here if addr is bad // Check that addr is within [arenastart, arenaend) or within [racedatastart, racedataend). MOVD runtime·racearenastart(SB), R9 CMP R7, R9 |