summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/arch/amd64/string/memmove.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/arch/amd64/string/memmove.S b/lib/libc/arch/amd64/string/memmove.S
index 67f2e41e7b8..2d73e60e8d5 100644
--- a/lib/libc/arch/amd64/string/memmove.S
+++ b/lib/libc/arch/amd64/string/memmove.S
@@ -45,6 +45,7 @@ ENTRY_NB(bcopy)
/* fall into memmove */
NENTRY(memmove)
+ endbr64
RETGUARD_SETUP(memmove, r10)
movq %rdi,%r11 /* save dest */
movq %rdx,%rcx