aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2007-11-29 02:01:21 +0000
committerBruce Evans <bde@FreeBSD.org>2007-11-29 02:01:21 +0000
commitd5c90663b295b8a1a1f4b6f75c3a3fdef48aa8ea (patch)
treedafc46e7794ee0a35610452328fb817732ffbd66 /sys/amd64
parent7e7c8806bf3d6ed5aa0e4b33d4e1364d61e1e5fa (diff)
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/prof_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/prof_machdep.c b/sys/amd64/amd64/prof_machdep.c
index cdccc925f992..f49eb11959cf 100644
--- a/sys/amd64/amd64/prof_machdep.c
+++ b/sys/amd64/amd64/prof_machdep.c
@@ -135,7 +135,7 @@ __mcount: \n\
popq %rdx \n\
popq %rax \n\
.mcount_exit: \n\
- ret \n\
+ ret $0 \n\
");
#else /* !__GNUCLIKE_ASM */
#error "this file needs to be ported to your compiler"
@@ -187,7 +187,7 @@ GMON_PROF_HIRES = 4 \n\
popq %rdx \n\
popq %rax \n\
.mexitcount_exit: \n\
- ret \n\
+ ret $0 \n\
");
#endif /* __GNUCLIKE_ASM */