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: gcc at gcc dot gnu dot org
- Subject: Re: A completely different approach to EH runtime
- From: thospel at mail dot dma dot be (Ton Hospel)
- Date: Wed, 28 Feb 2001 16:02:45 +0000 (UTC)
- Organization: lunix confusion services
- References: <200102221858.SAA24437@cam-mail2.cambridge.arm.com>
- Reply-To: thospel at mail dot dma dot be (Ton Hospel)
- Xref: Home.Lunix mail.ecgs:44458
Is this incredibly naive ?
As soon as you add functions, give libgcc_s.so a new major number, but
only put the NEW functions in there.
Have the old functions however come from the OLD library (have a
unique symbol in each of them so you can pull it in)
So libgcc_s would become a stack of consecutive versions.
If the linker allows it, have the old symbols weak in there, so
on newer systems you don't need the whole historic set.
(This could also be determined at compile time to see if you need
the stack or not. But it might confuse things if you suddenly imported
old libraries on a new system).