diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-05-07 10:30:59 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-05-07 10:30:59 +0000 |
commit | 0b70c413218c1b3cf862cf60fc9d3a6b58ed2b0a (patch) | |
tree | c94aead5d4d246fab3b0a4ef130a32c3464c11ed /libc/sysdeps | |
parent | b3ae173353762576f231204787f668e6bc1aa2a2 (diff) |
Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/bits/machine-gmon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/machine-gmon.h b/libc/sysdeps/linux/common/bits/machine-gmon.h index eb046b068..7dd36308b 100644 --- a/libc/sysdeps/linux/common/bits/machine-gmon.h +++ b/libc/sysdeps/linux/common/bits/machine-gmon.h @@ -47,6 +47,10 @@ static void mcount_internal (u_long frompc, u_long selfpc); #define _MCOUNT_DECL(frompc, selfpc) \ static inline void mcount_internal (u_long frompc, u_long selfpc) +#ifndef RETURN_ADDRESS +#define RETURN_ADDRESS(n) __builtin_return_address(n) +#endif + #define MCOUNT \ void _mcount (void) \ { \ |