From d564b816874a443ae3ced1f11b48633abe412cc3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 17 Oct 2012 05:18:02 +0000 Subject: [PATCH] extend.texi (Return Address): Change __builtin_extract_return_address to __builtin_extract_return_addr. * doc/extend.texi (Return Address): Change __builtin_extract_return_address to __builtin_extract_return_addr. From-SVN: r192525 --- gcc/ChangeLog | 6 ++++++ gcc/doc/extend.texi | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2e717ffc0b..5bef03dca60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-10-16 Ian Lance Taylor + + * doc/extend.texi (Return Address): Change + __builtin_extract_return_address to + __builtin_extract_return_addr. + 2012-10-16 Steven Bosscher * rtl.h (get_call_rtx_from): New prototype. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 3a2d6a874dd..6bf929a5c40 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})