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 Feb 21, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:

> 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?

It appears to me that the only problem right now is that the DWARF-2
EH table (objects, in frame-dwarf2.c) is currently static.  Couldn't
we just make it global, so that ELF symbol-binding semantics resolves
it to a single symbol globally?  On platforms that don't have ELF
library semantics, we might be able to work around this with an
additional level of indirection and explicit symbol resolution at
initialization time.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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