Commit d3144423 by Eric Botcazou Committed by Eric Botcazou

invoke.texi (-static-libgcc): Explicitly mention non-GNU linkers.

	* doc/invoke.texi (-static-libgcc): Explicitly mention
	non-GNU linkers.

From-SVN: r82529
parent 76f824a4
2004-06-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* doc/invoke.texi (-static-libgcc): Explicitly mention
non-GNU linkers.
2004-06-01 Bernardo Innocenti <bernie@develer.com> 2004-06-01 Bernardo Innocenti <bernie@develer.com>
PR target/12968 PR target/12968
......
...@@ -5488,14 +5488,14 @@ this is the right thing to do. ...@@ -5488,14 +5488,14 @@ this is the right thing to do.
If, instead, you use the GCC driver to create shared libraries, you may If, instead, you use the GCC driver to create shared libraries, you may
find that they will not always be linked with the shared @file{libgcc}. find that they will not always be linked with the shared @file{libgcc}.
If GCC finds, at its configuration time, that you have a GNU linker that If GCC finds, at its configuration time, that you have a non-GNU linker
does not support option @option{--eh-frame-hdr}, it will link the shared or a GNU linker that does not support option @option{--eh-frame-hdr},
version of @file{libgcc} into shared libraries by default. Otherwise, it will link the shared version of @file{libgcc} into shared libraries
it will take advantage of the linker and optimize away the linking with by default. Otherwise, it will take advantage of the linker and optimize
the shared version of @file{libgcc}, linking with the static version of away the linking with the shared version of @file{libgcc}, linking with
libgcc by default. This allows exceptions to propagate through such the static version of libgcc by default. This allows exceptions to
shared libraries, without incurring relocation costs at library load propagate through such shared libraries, without incurring relocation
time. costs at library load time.
However, if a library or main executable is supposed to throw or catch However, if a library or main executable is supposed to throw or catch
exceptions, you must link it using the G++ or GCJ driver, as appropriate exceptions, you must link it using the G++ or GCJ driver, as appropriate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment