This is the mail archive of the glibc-cvs@sourceware.org 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.27.9000-645-gcfba5db


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  cfba5dbb10cc3abde632b46c60c10b2843917035 (commit)
      from  49dddc3e99a69ecaa022ce703566b9abea2834c5 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=cfba5dbb10cc3abde632b46c60c10b2843917035

commit cfba5dbb10cc3abde632b46c60c10b2843917035
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Jul 26 08:34:05 2018 +0200

    htl: Use weak aliases for public symbols
    
    Strong definitions of flockfile, funlockfile, ftrylockfile can conflict
    with application symbols when linking statically.

diff --git a/ChangeLog b/ChangeLog
index 8b509d4..d88a798 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-26  Florian Weimer  <fweimer@redhat.com>
+
+	* htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
+	aliases for symbols not in the implementation namespace.
+
 2018-07-25  Carlos O'Donell <carlos@redhat.com>
 
 	[BZ #23393]
diff --git a/htl/lockfile.c b/htl/lockfile.c
index 7828d47..1d0ab88 100644
--- a/htl/lockfile.c
+++ b/htl/lockfile.c
@@ -53,8 +53,8 @@ int _IO_ftrylockfile (FILE *)
      __attribute__ ((alias ("_cthreads_ftrylockfile")));
 
 void flockfile (FILE *)
-     __attribute__ ((alias ("_cthreads_flockfile")));
+     __attribute__ ((weak, alias ("_cthreads_flockfile")));
 void funlockfile (FILE *)
-     __attribute__ ((alias ("_cthreads_funlockfile")));
+     __attribute__ ((weak, alias ("_cthreads_funlockfile")));
 int ftrylockfile (FILE *)
-     __attribute__ ((alias ("_cthreads_ftrylockfile")));
+     __attribute__ ((weak, alias ("_cthreads_ftrylockfile")));

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 htl/lockfile.c |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
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]