mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
shlib-compat: Update documentation of the compat_symbol_reference macro
This commit is contained in:
parent
596f70134a
commit
3480ddc40b
@ -1,3 +1,8 @@
|
|||||||
|
2017-10-16 Carlos O'Donell <carlos@redhat.com>
|
||||||
|
|
||||||
|
* include/shlib-compat.h (compat_symbol_reference): Update
|
||||||
|
comment.
|
||||||
|
|
||||||
2017-10-16 Joseph Myers <joseph@codesourcery.com>
|
2017-10-16 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* math/Makefile (test-types): Add
|
* math/Makefile (test-types): Add
|
||||||
|
@ -78,8 +78,12 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Use compat_symbol_reference for a reference to a specific version
|
/* Use compat_symbol_reference for a reference *or* definition of a
|
||||||
of a symbol. Use compat_symbol to define such a symbol. */
|
specific version of a symbol. Definitions are primarily used to
|
||||||
|
ensure tests reference the exact compat symbol required, or define an
|
||||||
|
interposing symbol of the right version e.g. __malloc_initialize_hook
|
||||||
|
in mcheck-init.c. Use compat_symbol to define such a symbol within
|
||||||
|
the shared libraries that are built for users. */
|
||||||
#define compat_symbol_reference(lib, local, symbol, version) \
|
#define compat_symbol_reference(lib, local, symbol, version) \
|
||||||
compat_symbol_reference_1 (lib, local, symbol, version)
|
compat_symbol_reference_1 (lib, local, symbol, version)
|
||||||
#define compat_symbol_reference_1(lib, local, symbol, version) \
|
#define compat_symbol_reference_1(lib, local, symbol, version) \
|
||||||
|
Loading…
Reference in New Issue
Block a user