This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ libtool lossage
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 24 Feb 2002 18:04:32 -0500
- Subject: Re: libstdc++ libtool lossage
>>>>> Richard Henderson writes:
Richard> On Sat, Feb 23, 2002 at 08:51:17PM -0500, David Edelsohn wrote:
>> Note that this is one area where AIX's design is very clean and
>> efficient, if you cared to research the topic.
Richard> It's not nearly as flexible as the SVR4 design, particularly
Richard> with regard to name binding. It's a flexibility not to be
Richard> discarded lightly.
With the AIX -brtl option, I believe that AIX provides most of the
equivalent name binding flexibility, with the additional start-up cost.
One difference which I just learned about is satisfying weak external
symbols with the first definition versus searching all dependent libraries
for a strong definition. Searching all libraries is expensive.
The features of AIX I was referring to are the types of
relocations (relative versus absolute), the number of relocations, and
prelinking executables so that no relocation is needed if they are loaded
at the default load address.
David