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
On Wed, Feb 21, 2001 at 10:05:57PM -0300, Alexandre Oliva wrote:
> 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?
There's a few more 'd' and 'b' symbols in frame-dwarf2.o and _eh.o;
they might have to be looked at, too.
If we made it global, we'd have to rename it into the implementation
namespace - __frame_objects or something like that. Can we safely
rename it while maintaining backward compatibility?
zw