diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 17:12:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 17:12:50 +0000 |
commit | e862aada834365440fc500cb463f2c62edb6142f (patch) | |
tree | 9e7fb519c18c85330f67deba299cb4fa8f52b085 /include/libc-symbols.h | |
parent | 9f791dcf5d8000189c35a460a5224bbaff6f366c (diff) | |
download | glibc-e862aada834365440fc500cb463f2c62edb6142f.tar glibc-e862aada834365440fc500cb463f2c62edb6142f.tar.gz glibc-e862aada834365440fc500cb463f2c62edb6142f.tar.bz2 glibc-e862aada834365440fc500cb463f2c62edb6142f.zip |
Define RETURN_ADDRESS macro.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r-- | include/libc-symbols.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 147dca3542..71a944e4a5 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -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 |