This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[doc, committed] symbol rename pragmas
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: David Wohlferd <dw at LimeGreenSocks dot com>
- Date: Tue, 10 Feb 2015 18:52:12 -0700
- Subject: [doc, committed] symbol rename pragmas
- Authentication-results: sourceware.org; auth=none
I've committed the attached patch on behalf of David Wohlferd, who has
no commit access. It was originally proposed here:
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01365.html
After reviewing that thread, I think the change is conservatively
correct, and since it's a partial revert of one of David's own previous
patches no further approval should be needed to check it in.
-Sandra
2015-02-10 David Wohlferd <dw@LimeGreenSocks.com>
gcc/
* doc/extend.texi (Symbol-Renaming Pragmas): Restore (slightly
modified) reference to Solaris.
Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi (revision 220602)
+++ gcc/doc/extend.texi (working copy)
@@ -17604,8 +17604,10 @@ adding a call to the @code{.init} sectio
@subsection Symbol-Renaming Pragmas
GCC supports a @code{#pragma} directive that changes the name used in
-assembly for a given declaration. This effect can also be achieved
-using the asm labels extension (@pxref{Asm Labels}).
+assembly for a given declaration. While this pragma is supported on all
+platforms, it is intended primarily to provide compatibility with the
+Solaris system headers. This effect can also be achieved using the asm
+labels extension (@pxref{Asm Labels}).
@table @code
@item redefine_extname @var{oldname} @var{newname}