summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/string/strcpy.S
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2008-11-02 01:10:54 +0000
committerpeter <peter@FreeBSD.org>2008-11-02 01:10:54 +0000
commitaa63008f13d7a07b62a85c25814374cb77dc7f84 (patch)
tree2cb2d6465da97e37710c7dadb37e63548e7e9c94 /lib/libc/amd64/string/strcpy.S
parent4b957256d0a1f1d1f7ae0cd19454ae63f4088568 (diff)
downloadFreeBSD-src-aa63008f13d7a07b62a85c25814374cb77dc7f84.zip
FreeBSD-src-aa63008f13d7a07b62a85c25814374cb77dc7f84.tar.gz
We've been lax about matching END() macros in asm code for some time. This
is used to set the ELF size attribute for functions. It isn't normally critical but some things can make use of it (gdb for stack traces). Valgrind needs it so I'm adding it in. The problem is present on all branches and on both i386 and amd64.
Diffstat (limited to 'lib/libc/amd64/string/strcpy.S')
-rw-r--r--lib/libc/amd64/string/strcpy.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/amd64/string/strcpy.S b/lib/libc/amd64/string/strcpy.S
index 04676fa..8cafa12 100644
--- a/lib/libc/amd64/string/strcpy.S
+++ b/lib/libc/amd64/string/strcpy.S
@@ -109,3 +109,4 @@ ENTRY(strcpy)
.Ldone:
ret
+END(strcpy)
OpenPOWER on IntegriCloud