This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]