This is the mail archive of the glibc-bugs@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]

[Bug libc/18970] Reference of pthread_setcancelstate in libc.a


https://sourceware.org/bugzilla/show_bug.cgi?id=18970

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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  e5d19c08d12880edbdf8772c8fb1f747c71d866e (commit)
      from  61f893789862db1dfdf188f77cd215bab0814d2c (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 -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e5d19c08d12880edbdf8772c8fb1f747c71d866e

commit e5d19c08d12880edbdf8772c8fb1f747c71d866e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Sep 17 16:38:54 2015 -0700

    Use __pthread_setcancelstate in libc.a

    This patch references __pthread_setcancelstate instead of
    pthread_setcancelstate in libc.a.

        [BZ #18970]
        * misc/error.c (error): Replace pthread_setcancelstate with
        __pthread_setcancelstate.
        (error_at_line): Likewise.
        * posix/wordexp.c (parse_comm): Likewise.
        * stdlib/fmtmsg.c (fmtmsg): Likewise.
        * nptl/forward.c (pthread_setcancelstate): Renamed to ...
        (__pthread_setcancelstate): This.
        (pthread_setcancelstate): Add an alias.
        * nptl/nptl-init.c (pthread_functions): Replace
        ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
        * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
        * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
        hidden_proto.
        * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
        it with hidden_def.
        * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
        (pthread_setcancelstate): Renamed to ...
        (__pthread_setcancelstate): This.
        * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
        __libc_ptf_call with __pthread_setcancelstate.

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

Summary of changes:
 ChangeLog                               |   24 ++++++++++++++++++++++++
 NEWS                                    |    2 +-
 misc/error.c                            |   11 ++++++-----
 nptl/forward.c                          |    5 +++--
 nptl/nptl-init.c                        |    2 +-
 nptl/pthreadP.h                         |    1 +
 nptl/pthread_setcancelstate.c           |    1 +
 posix/wordexp.c                         |    5 +++--
 stdlib/fmtmsg.c                         |    6 +++---
 sysdeps/nptl/libc-lockP.h               |    5 +++--
 sysdeps/nptl/pthread-functions.h        |    2 +-
 sysdeps/unix/sysv/linux/fatal-prepare.h |   19 +++----------------
 12 files changed, 50 insertions(+), 33 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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