]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR other/87353 fix formatting and grammar in manual
authorJonathan Wakely <jwakely@redhat.com>
Wed, 3 Oct 2018 10:58:49 +0000 (11:58 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 3 Oct 2018 10:58:49 +0000 (11:58 +0100)
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

gcc/ChangeLog
gcc/doc/invoke.texi

index 5931c2641f2d28cf1c98d4fbe8b68c2c2cc2673a..f742a977ca341f36c7c2969e2053a83add837e38 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR other/87353
+       * doc/invoke.texi (Link Options): Fix formatting and grammar.
+
 2018-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        Backport from mainline
index 9499ac21d16424c179e2ea27a11ed66502e6729c..9ce42bf09e8e5bac1ec48cbd43af6e52606aa5cc 100644 (file)
@@ -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}.