summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-07-10 16:01:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-07-10 16:01:27 +0000
commit170337a2e5dad781c35dbe77f15f5b07d3f988c1 (patch)
treec48a1f05be998269703cfd4631c1a7fc69b83f2f /lib
parent2bd710f5b4fe8036d1371d1b47d23a1eae9e0d02 (diff)
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')
-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