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


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).


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