summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2009-05-25 14:37:10 +0000
committerattilio <attilio@FreeBSD.org>2009-05-25 14:37:10 +0000
commit4af1dcdee08af3e880f7e2e62130859d5b28e8b0 (patch)
tree24ca73670f3ea12fd920051e3a590fb895db2b52 /lib/libstand
parent4fb8e988d3d06f538c5d70ceef4e8363227aa471 (diff)
downloadFreeBSD-src-4af1dcdee08af3e880f7e2e62130859d5b28e8b0.zip
FreeBSD-src-4af1dcdee08af3e880f7e2e62130859d5b28e8b0.tar.gz
Use, in uncovered part, the END() macro in order to improve debugging.
In this specific case, Valgrind won't get confused when analyzing such functions. Sponsored by: Sandvine Incorporated Tested by: emaste MFC: 3 days
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/i386/_setjmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/i386/_setjmp.S b/lib/libstand/i386/_setjmp.S
index 84df89e..cc9de5c 100644
--- a/lib/libstand/i386/_setjmp.S
+++ b/lib/libstand/i386/_setjmp.S
@@ -58,6 +58,7 @@ ENTRY(_setjmp)
movl %edi,20(%eax)
xorl %eax,%eax
ret
+END(_setjmp)
ENTRY(_longjmp)
movl 4(%esp),%edx
@@ -73,3 +74,4 @@ ENTRY(_longjmp)
incl %eax
1: movl %ecx,0(%esp)
ret
+END(_longjmp)
OpenPOWER on IntegriCloud