This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[doc, committed] symbol rename pragmas


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}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]