diff options
| author | 2020-06-04 22:33:17 +0000 | |
|---|---|---|
| committer | 2020-06-04 22:33:17 +0000 | |
| commit | 21ddc59af3b7bf4d9a666653828d7e9ee41cba12 (patch) | |
| tree | 9c09f3466c562bb44022601193dce4463be286cc /usr.bin/ssh/sshbuf-getput-basic.c | |
| parent | Reset wrapped flag when clearing or moving lines, GitHub issue 2215. (diff) | |
| download | wireguard-openbsd-21ddc59af3b7bf4d9a666653828d7e9ee41cba12.tar.xz wireguard-openbsd-21ddc59af3b7bf4d9a666653828d7e9ee41cba12.zip | |
Set max atomic size for PowerPC.
32-bit PowerPC doesn't have instructions for lock-free atomic ops on
8-byte values, and needs libcalls like __atomic_fetch_add_8(). In
code like "_Atomic long long a; a++;", clang doesn't emit a libcall.
This was causing linker errors on symbols like __sync_fetch_and_add_8.
Now that LLVM knows the max atomic size, its AtomicExpandPass changes
these 8-byte ops into libcalls.
ok mortimer@
Diffstat (limited to 'usr.bin/ssh/sshbuf-getput-basic.c')
0 files changed, 0 insertions, 0 deletions
