• Mikio Hara's avatar
    os: fix blockUntilWaitable on freebsd/{386,arm} · 9208ed32
    Mikio Hara authored
    The previous fix was wrong because it had two misunderstandings on
    freebsd32 calling convention like the following:
    - 32-bit id1 implies that it is the upper half of 64-bit id, indeed it
      depends on machine endianness.
    - 32-bit ARM calling convension doesn't conform to freebsd32_args,
      indeed it does.
    
    This change fixes the bugs and makes blockUntilWaitable work correctly
    on freebsd/{386,arm}.
    
    Fixes #16064.
    
    Change-Id: I820c6d01d59a43ac4f2ab381f757c03b14bca75e
    Reviewed-on: https://go-review.googlesource.com/24064Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    9208ed32
wait_wait6.go 1.43 KB