This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [DOC Patch] symbol rename pragmas
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: David Wohlferd <dw at LimeGreenSocks dot com>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Gerald Pfeifer <gerald at pfeifer dot com>
- Date: Tue, 13 May 2014 07:56:47 +0200
- Subject: Re: [DOC Patch] symbol rename pragmas
- Authentication-results: sourceware.org; auth=none
- References: <5371412C dot 1010600 at LimeGreenSocks dot com>
David Wohlferd <dw@LimeGreenSocks.com> writes:
> I don't have permissions to commit this patch, but I do have a release on
> file with the FSF.
>
> Problem description:
> The existing docs make reference to the "two #pragma directives that change
> the name used in assembly." However, the subsequent text only describes
> one. It turns out, "#pragma extern_prefix" was removed in revision 185240
> (March 2012), as part of "Remove obsolete Tru64 UNIX V5.1B support," but
> the surrounding text wasn't updated to reflect the new count. Also, while
That's my fault, sorry.
> the current text makes reference to "compatibility with the Solaris system
> headers," the remaining pragma is (according to the existing text)
> "currently on all platforms." This makes referring to Solaris both
> superfluous and potentially confusing.
I disagree: #pragma redefine_extname does exist for Solaris
compatibility only, even if it now works on all platforms. So please
continue to state so.
> ChangeLog:
> 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
>
> * doc/extend.texi: Reflect current pragma count and remove
> "Solaris."
The ChangeLog entry should be formatted like this:
* doc/extend.texi (Symbol-Renaming Pragmas): Refect ...
This is what Emacs' Change Log mode does for you, otherwise it's hard to
see what section your change refers to.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University