aboutsummaryrefslogtreecommitdiff
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
parent7e7c8806bf3d6ed5aa0e4b33d4e1364d61e1e5fa (diff)
Notes
-rw-r--r--sys/amd64/amd64/prof_machdep.c4
-rw-r--r--sys/i386/isa/prof_machdep.c4
2 files changed, 4 insertions, 4 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 */
diff --git a/sys/i386/isa/prof_machdep.c b/sys/i386/isa/prof_machdep.c
index 8fd0fc055384..7c7edf48579c 100644
--- a/sys/i386/isa/prof_machdep.c
+++ b/sys/i386/isa/prof_machdep.c
@@ -113,7 +113,7 @@ __mcount: \n\
addl $8,%esp \n\
popfl \n\
.mcount_exit: \n\
- ret \n\
+ ret $0 \n\
");
#else /* !__GNUCLIKE_ASM */
#error "this file needs to be ported to your compiler"
@@ -157,7 +157,7 @@ GMON_PROF_HIRES = 4 \n\
popl %eax \n\
popl %edx \n\
.mexitcount_exit: \n\
- ret \n\
+ ret $0 \n\
");
#endif /* __GNUCLIKE_ASM */