This is the mail archive of the gcc@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]

Re: A completely different approach to EH runtime


On Wed, Feb 21, 2001 at 11:15:15AM -0800, Zack Weinberg wrote:
> Hm, the whole problem is that there has to be exactly one copy of the
> global data in _eh.o and frame.o.

Which, incidentally, can be solved *correctly* with an ia64-like
PT_IA_64_UNWIND program header solution, plus some coziness with
ld.so.  Not sure what to do about non-elf systems or systems not
using an appropriately new version of gld.

But lets do consider this before bodging anything up.

> Could we bodge up something with unique weak symbols so that
> (at least on some platforms) there'd be only one copy of the
> global frame data no matter how many times the library got
> dragged in?

No.  Weak symbols don't buy you anything over strong symbols.
All the problems arrise when symbols aren't cross-resolved period.


r~


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