git: d53f977d5285 - stable/12 - amd64 libc: add missed GNU-stack annotation to memmove/memcpy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Mar 2023 22:28:27 UTC
The branch stable/12 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=d53f977d5285d4f685af3dd98ae14592e6663d66
commit d53f977d5285d4f685af3dd98ae14592e6663d66
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-11-18 02:24:34 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-03-22 00:03:08 +0000
amd64 libc: add missed GNU-stack annotation to memmove/memcpy
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit ae507c25de5ab327fca6578d2bd015aa4792b20d)
---
lib/libc/amd64/string/memmove.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/libc/amd64/string/memmove.S b/lib/libc/amd64/string/memmove.S
index fc4baaaa4aaa..e06c0ae4c26b 100644
--- a/lib/libc/amd64/string/memmove.S
+++ b/lib/libc/amd64/string/memmove.S
@@ -300,3 +300,5 @@ ENTRY(memcpy)
MEMMOVE erms=0 overlap=1 begin=MEMMOVE_BEGIN end=MEMMOVE_END
END(memcpy)
#endif
+
+ .section .note.GNU-stack,"",%progbits