[PATCH] collect2, OpenBSD, and dynamic libraries
Jeffrey A Law
law@upchuck.cygnus.com
Thu May 13 00:19:00 GMT 1999
In message < 19990512171626.A27338@tetto.liafa.jussieu.fr >you write:
> The following patch turns out to be needed for collect2 to do the
> right thing on OpenBSD...
>
> This is the kind of thing that's best handled by the linking tools
> proper, but this makes the collect2 solution more complete and robust,
> which is a good thing: we want to keep collect2 working as a fail-safe
> solution.
I don't see the point behind the collect2 change -- there should *NOT* be a
way to disable searching of libraries for ctors/dtors. That's simply
wrong. collect2 should always search libraries (shared or otherwise) for
ctors/dtors.
jeff
More information about the Gcc-patches
mailing list