This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A completely different approach to EH runtime
- To: "Zack Weinberg" <zackw at Stanford dot EDU>
- Subject: Re: A completely different approach to EH runtime
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 21 Feb 2001 22:05:57 -0300
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Hidvegi <hzoli at austin dot ibm dot com>, gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <hzoli@austin.ibm.com><200102211757.MAA29608@mal-ach.watson.ibm.com><20010221111515.F11424@wolery.stanford.edu>
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