shlib-compat.h

Ulrich Drepper drepper@redhat.com
Tue Mar 21 22:20:00 GMT 2000


Roland McGrath <roland@frob.com> writes:

> I've just checked in a change whereby this would be done:
> 
> 	#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)

Great, thanks.

> What's also needed that I haven't done is to replace `symbol_version' with
> a macro like the new `versioned_symbol' macro (perhaps `compat_symbol' is a
> good name for the new macro), that will use `GLIBC_2_0' for its version arg
> and apply the VERSION_* renaming macros.

I don't think is needed or wanted.  This would mean we cannot use the
Versions files since they record the version under which a symbol is
available.

There is nothing wrong with having the version name GLIBC_2.0 even if
the arhitecture was not support in glibc 2.0.  GLIBC_2.0 is just a
name.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list