diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2e717f..5bef03d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-10-16 Ian Lance Taylor <iant@google.com> + + * doc/extend.texi (Return Address): Change + __builtin_extract_return_address to + __builtin_extract_return_addr. + 2012-10-16 Steven Bosscher <steven@gcc.gnu.org> * rtl.h (get_call_rtx_from): New prototype. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 3a2d6a8..6bf929a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -6769,13 +6769,13 @@ random value. In addition, @code{__builtin_frame_address} may be used to determine if the top of the stack has been reached. Additional post-processing of the returned value may be needed, see -@code{__builtin_extract_return_address}. +@code{__builtin_extract_return_addr}. This function should only be used with a nonzero argument for debugging purposes. @end deftypefn -@deftypefn {Built-in Function} {void *} __builtin_extract_return_address (void *@var{addr}) +@deftypefn {Built-in Function} {void *} __builtin_extract_return_addr (void *@var{addr}) The address as returned by @code{__builtin_return_address} may have to be fed through this function to get the actual encoded address. For example, on the 31-bit S/390 platform the highest bit has to be masked out, or on SPARC @@ -6786,7 +6786,7 @@ If no fixup is needed, this function simply passes through @var{addr}. @end deftypefn @deftypefn {Built-in Function} {void *} __builtin_frob_return_address (void *@var{addr}) -This function does the reverse of @code{__builtin_extract_return_address}. +This function does the reverse of @code{__builtin_extract_return_addr}. @end deftypefn @deftypefn {Built-in Function} {void *} __builtin_frame_address (unsigned int @var{level}) |