This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Always link against static libgcc on hppa-linux
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dje at watson dot ibm dot com (David Edelsohn)
- Cc: mark at codesourcery dot com, rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Feb 2002 13:19:59 -0500 (EST)
- Subject: Re: Always link against static libgcc on hppa-linux
> running executable: the main application, all shared libraries, and all
> dynamically loaded shared objects. When we link against both shared and
> static libraries, we run the risk of having multiple copies of the EH
> routines. We especially do not want some parts of a running executable to
> use tightly-bound versions of the routines distinct from other parts of
> the executable.
The EH routines are not in libgcc.a. They are in libgcc_eh.a and it
isn't included when using "-shared" or "-shared-libgcc".
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)