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>
PR target/12968
......
......@@ -5488,14 +5488,14 @@ this is the right thing to do.
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}.
If GCC finds, at its configuration time, that you have a GNU linker that
does not support option @option{--eh-frame-hdr}, it will link the shared
version of @file{libgcc} into shared libraries by default. Otherwise,
it will take advantage of the linker and optimize away the linking with
the shared version of @file{libgcc}, linking with the static version of
libgcc by default. This allows exceptions to propagate through such
shared libraries, without incurring relocation costs at library load
time.
If GCC finds, at its configuration time, that you have a non-GNU linker
or a GNU linker that does not support option @option{--eh-frame-hdr},
it will link the shared version of @file{libgcc} into shared libraries
by default. Otherwise, it will take advantage of the linker and optimize
away the linking with the shared version of @file{libgcc}, linking with
the static version of libgcc by default. This allows exceptions to
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++ 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