summaryrefslogtreecommitdiff
path: root/sysdeps/generic/machine-gmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/machine-gmon.h')
-rw-r--r--sysdeps/generic/machine-gmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/machine-gmon.h b/sysdeps/generic/machine-gmon.h
index 115962a601..43bf62d663 100644
--- a/sysdeps/generic/machine-gmon.h
+++ b/sysdeps/generic/machine-gmon.h
@@ -46,6 +46,6 @@ static inline void mcount_internal (frompc, selfpc)
#define MCOUNT \
void _mcount (void) \
{ \
- mcount_internal ((u_long) __builtin_return_address (0), \
- (u_long) __builtin_return_address (1)); \
+ mcount_internal ((u_long) __builtin_return_address (1), \
+ (u_long) __builtin_return_address (0)); \
}