Define RETURN_ADDRESS macro.

This commit is contained in:
Ulrich Drepper 2000-07-18 17:12:50 +00:00
parent 9f791dcf5d
commit e862aada83
1 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,10 @@
# define __builtin_expect(expr, val) (expr)
#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
warning message MSG. */
#ifdef HAVE_GNU_LD