summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2018-07-10 16:01:26 +0000
committerderaadt <deraadt@openbsd.org>2018-07-10 16:01:26 +0000
commita5910b4fbcaa3dd48faff38aeadcb22c953af71e (patch)
tree2d8ece63ecd0e2f36fd526bf03b2ebc02be93ea0 /lib/libc
parentrde_update_get_prefix() and friends should also verify the prefixlen. (diff)
downloadwireguard-openbsd-a5910b4fbcaa3dd48faff38aeadcb22c953af71e.tar.xz
wireguard-openbsd-a5910b4fbcaa3dd48faff38aeadcb22c953af71e.zip
In asm.h ensure NENTRY uses the old-school nop-sled align, but change standard
ENTRY is a trapsled. Fix a few functions which fall-through into an ENTRY macro. amd64 binaries now are free of double+-nop sequences (except for one assember nit in aes-586.pl). Previous changes by guenther got us here. ok mortimer kettenis
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/amd64/string/memmove.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arch/amd64/string/memmove.S b/lib/libc/arch/amd64/string/memmove.S
index 496a0a37930..9df41afb096 100644
--- a/lib/libc/arch/amd64/string/memmove.S
+++ b/lib/libc/arch/amd64/string/memmove.S
@@ -44,7 +44,7 @@ ENTRY(bcopy)
xchgq %rdi,%rsi
/* fall into memmove */
-ENTRY(memmove)
+NENTRY(memmove)
RETGUARD_SETUP(memmove, r10)
movq %rdi,%r11 /* save dest */
movq %rdx,%rcx