This is the mail archive of the mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.26-579-g3480ddc

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  3480ddc40b8f9a9fb277fe1883e359db3db0ab17 (commit)
      from  596f70134a8f11967c65c1d55a94a3a2718c731d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=3480ddc40b8f9a9fb277fe1883e359db3db0ab17

commit 3480ddc40b8f9a9fb277fe1883e359db3db0ab17
Author: Carlos O'Donell <>
Date:   Mon Oct 16 20:43:28 2017 +0200

    shlib-compat: Update documentation of the compat_symbol_reference macro

diff --git a/ChangeLog b/ChangeLog
index e45b749..debac64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-16  Carlos O'Donell  <>
+	* include/shlib-compat.h (compat_symbol_reference): Update
+	comment.
 2017-10-16  Joseph Myers  <>
 	* math/Makefile (test-types): Add
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index d872afc..6f11be8 100644
--- a/include/shlib-compat.h
+++ b/include/shlib-compat.h
@@ -78,8 +78,12 @@
-/* Use compat_symbol_reference for a reference to a specific version
-   of a symbol.  Use compat_symbol to define such a symbol.  */
+/* Use compat_symbol_reference for a reference *or* definition of a
+   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) \
   compat_symbol_reference_1 (lib, local, symbol, version)
 #define compat_symbol_reference_1(lib, local, symbol, version) \


Summary of changes:
 ChangeLog              |    5 +++++
 include/shlib-compat.h |    8 ++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

GNU C Library master sources

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