diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-01-24 02:57:00 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-01-24 02:57:00 +0000 |
commit | af4e5c659f068f8b6a80624b7baafbe4f70fe49f (patch) | |
tree | 84e1b5d5ff2351b1ed453123a71418de3813e314 /contrib/libc++/src/system_error.cpp | |
parent | 11813eb2829e7f51e3faa7b308edd62f95237d7b (diff) | |
download | FreeBSD-src-af4e5c659f068f8b6a80624b7baafbe4f70fe49f.zip FreeBSD-src-af4e5c659f068f8b6a80624b7baafbe4f70fe49f.tar.gz |
Fix 32-bit signal handling on ppc64. This was broken when the PSL_USERSTATIC
macro was changed. Since copying 64-bit srr1 into 32-bit srr1 drops the upper
32 bits, any bits set in the context were dropped, meaning the context check
fails. Since 32-bit set_context can't change those bits anyway, copy the ones
from the current context (td->td_frame) before calling set_context().
MFC after: 3 weeks
Diffstat (limited to 'contrib/libc++/src/system_error.cpp')
0 files changed, 0 insertions, 0 deletions