mirror of git://sourceware.org/git/glibc.git
Define RETURN_ADDRESS macro.
This commit is contained in:
parent
9f791dcf5d
commit
e862aada83
|
@ -163,6 +163,10 @@
|
||||||
# define __builtin_expect(expr, val) (expr)
|
# define __builtin_expect(expr, val) (expr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Determine the return address. */
|
||||||
|
#define RETURN_ADDRESS(nr) \
|
||||||
|
__builtin_extract_return_addr (__builtin_return_address (nr))
|
||||||
|
|
||||||
/* When a reference to SYMBOL is encountered, the linker will emit a
|
/* When a reference to SYMBOL is encountered, the linker will emit a
|
||||||
warning message MSG. */
|
warning message MSG. */
|
||||||
#ifdef HAVE_GNU_LD
|
#ifdef HAVE_GNU_LD
|
||||||
|
|
Loading…
Reference in New Issue