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]
Other format: [Raw text]

Re: versioning of _Unwind_*() symbols


On Wed, Apr 21, 2004 at 02:13:39PM -0700, Mark Mitchell wrote:
> H. J. Lu wrote:
> 
> >>Since GCC has never provided this library, there are going to be 
> >>challenges here.
> >>
> >>The first step is to undo the versioning mistake.  That's a sine qua non 
> >>for anything else.  After that, someone should implement libcxa.so.  
> >>Probably, libgcc will need to depend on it, since existing programs 
> >>expect libgcc to provide these interfaces.
> >>   
> >>
> >
> >Where do those versioned definitions for backward compatibilty come
> >from? Should we consider libgcc_s.so.2?
> > 
> >
> Maybe.  If we split out the C++ support into libcxa.so at that time we 
> could perhaps  clean up some of this mess.  The way it should be is that 
> libcxa.so should contain the C++ ABI stuff, and libgcc_s.so should 
> contain stuff like math support functions and the exception personality 
> routines.
> 

FYI, glibc does

	dlopen ("libgcc_s.so.1")

to get unwind library. Also icc has a libcxa.so, but it is not the
unwind library. We may need to take another look at C++ ABI to get
it right this time for all compilers.


H.J.


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