This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: versioning of _Unwind_*() symbols
On Tue, Apr 20, 2004 at 03:40:25PM -0700, Jim Wilson wrote:
>
> This seems to match with Mark's suggestion of putting the functions back
> in libgcc_s.so to maintain backwards compatibility.
It is a very tricky thing to do with the current Linux dynamic linker.
Those removed functions should be restored. The question is where
they come from. We can't use the old definiton since we want to use
the ones in libunwind. In glibc, we do
foo ()
{
h = dlopen (libgcc)
fn = dlsym (h, "foo");
(*fn) ...
}
so that we can define foo in glibc as a wrapper for foo in libgcc.
Maybe we can do the same for libgcc.
H.J.