summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2017-05-19 00:49:53 +0000
committerdlg <dlg@openbsd.org>2017-05-19 00:49:53 +0000
commita5c02b8e35ade9178d0ec32c11de436752bf96f7 (patch)
treea1c9c09ca537fa040aea5b264a9e7e06054eaaed /regress/lib/libc
parentAdd a gap of 1MB between the stack and mmap spaces. (diff)
downloadwireguard-openbsd-a5c02b8e35ade9178d0ec32c11de436752bf96f7.tar.xz
wireguard-openbsd-a5c02b8e35ade9178d0ec32c11de436752bf96f7.zip
tweak the spllower asm so it is more straightforward.
this properly identifies the registers used as input and output operands to the code running in the trap handler, and passes them to the asm statement as such. this means we dont have to do an extra copy in the asm, or an extra clobber to keep the compiler away from the registers. it also lets gcc set up and use the input register nicely before it reaches the asm. ok kettenis@
Diffstat (limited to 'regress/lib/libc')
0 files changed, 0 insertions, 0 deletions