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 12:15:16PM -0700, Mark Mitchell wrote:
> 
> >While we are on it, binaries compiled by gcc may reference gcc
> >personality functions, which only come with gcc. That means when you
> >mix them with other compilers, you have to do something like
> >
> ># icc .... find the right gcc personality functions
> >
> >How can we address this?
> > 
> >
> The presonality routines should be either (a) included in the shared 
> object or executable, or (b)  the shared object or executable should 
> have a dependency on a shared object providing that personality routine.

It seems to me that we need to sit down and think about what kinds of
"compatibility" are really guaranteed by the ABI before we make any
changes in this area.  For instance, we currently satisfy references to
the unwind symbols (on ELF platforms, this is) by adding a DT_NEEDED
referring to "libgcc_s.so.1".  Does that violate the ABI?  If not,
perhaps versioning the symbols doesn't either.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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