This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
On Sat, 20 Feb 1999, Zack Weinberg wrote: >On Sat, 20 Feb 1999 13:46:26 -0700, Jeffrey A Law wrote: >> >> In message <m10DUeS-00038sC@ocean.lucon.org>you write: >> > You got it backward. Making ctors/dtors local on ELF FIXES the bug on >> > ELF. However, your patch won't hurt. >>Yours works by introducing an ELF specific hack. >> >>Jason's patch, while not 100% correct either is a lot closer than yours since >>it works for a large number of targets instead of just ELF. The cases where >>it fails should be minimial as far as I can tell. >> >>HJ, remember, we care about more than just Linux and ELF. We have to. > >I don't really see using local symbols for constructors as an >ELF-specific hack. HJ's implementation may be ELF-specific, but we >ought to be able to use the same tactic on any system with named >sections - at least XCOFF, and I know there are others. > I tried it also for DJGPP with egcs-1.1.2-pre1. Initially I didn't saw any problems but anyway it is not carefully tested yet. Andris