From: Jonathan Wakely Date: Wed, 3 Oct 2018 10:58:49 +0000 (+0100) Subject: PR other/87353 fix formatting and grammar in manual X-Git-Tag: releases/gcc-7.4.0~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f317c21d81fbaa30a73a0d47feb7b8f811a50bfe;p=thirdparty%2Fgcc.git PR other/87353 fix formatting and grammar in manual The changes to invoke.texi in r242433 left some unwanted spaces that texi2pod.pl interprets as verbatim formatting. There are also some grammatical errors due to the removal of references to GCJ, where the G++ driver is referred to in the plural. PR other/87353 * doc/invoke.texi (Link Options): Fix formatting and grammar. From-SVN: r264810 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5931c2641f2d..f742a977ca34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-03 Jonathan Wakely + + PR other/87353 + * doc/invoke.texi (Link Options): Fix formatting and grammar. + 2018-10-01 Kyrylo Tkachov Backport from mainline diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9499ac21d164..9ce42bf09e8e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11691,9 +11691,9 @@ of these is when the application wishes to throw and catch exceptions across different shared libraries. In that case, each of the libraries as well as the application itself should use the shared @file{libgcc}. -Therefore, the G++ and driver automatically adds @option{-shared-libgcc} - whenever you build a shared library or a main executable, because C++ - programs typically use exceptions, so this is the right thing to do. +Therefore, the G++ driver automatically adds @option{-shared-libgcc} +whenever you build a shared library or a main executable, because C++ +programs typically use exceptions, so this is the right thing to do. If, instead, you use the GCC driver to create shared libraries, you may find that they are not always linked with the shared @file{libgcc}. @@ -11707,8 +11707,7 @@ propagate through such shared libraries, without incurring relocation costs at library load time. However, if a library or main executable is supposed to throw or catch -exceptions, you must link it using the G++ driver, as appropriate -for the languages used in the program, or using the option +exceptions, you must link it using the G++ driver, or using the option @option{-shared-libgcc}, such that it is linked with the shared @file{libgcc}.