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/18822] Internal functions are called via PLT


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

--- Comment #66 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  825adeeed1e95990fd1efb70d9ac3eb7f1ea802a (commit)
      from  bfb0deb3554204cbba10d61d96cad355e4ca5623 (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=825adeeed1e95990fd1efb70d9ac3eb7f1ea802a

commit 825adeeed1e95990fd1efb70d9ac3eb7f1ea802a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Sep 26 16:53:25 2017 -0700

    Mark __dso_handle as hidden [BZ #18822]

    Since __dso_handle is always defined by either crtbegin.o from GCC or
    dso_handle.c, it should be marked as hidden and be passed directly.

        [BZ #18822]
        * dlfcn/modatexit.c (foo): Remove __dso_handle check.
        * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
        (__dso_handle): Remove declaration.
        * dlfcn/tstatexit.c (__dso_handle): Removed.
        (main): Don't check __dso_handle.
        * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
        (main): Don't check __dso_handle.
        * include/dso_handle.h: New file.
        * malloc/mtrace.c: Include <dso_handle.h>.
        (mtrace): Pass __dso_handle directly.
        * nptl/pthread_atfork.c: Include <dso_handle.h>.
        (__dso_handle): Remove declaration.
        (__pthread_atfork): Pass __dso_handle directly.
        * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
        (__dso_handle): Removed.
        * posix/wordexp-test.c: Include <dso_handle.h>.
        (__dso_handle): Remove declaration.
        (__app_register_atfork): Pass __dso_handle directly.
        * stdlib/at_quick_exit.c: Include <dso_handle.h>.
        (__dso_handle): Remove declaration.
        (at_quick_exit): Pass __dso_handle directly.
        * stdlib/atexit.c: Include <dso_handle.h>.
        (__dso_handle): Remove declaration.
        (atexit): Pass __dso_handle directly.
        * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
        (__dso_handle): Removed.

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

Summary of changes:
 ChangeLog                   |   30 ++++++++++++++++++++++++++++++
 dlfcn/modatexit.c           |    2 --
 dlfcn/modcxaatexit.c        |    2 +-
 dlfcn/tstatexit.c           |    8 --------
 dlfcn/tstcxaatexit.c        |    8 --------
 include/dso_handle.h        |    3 +++
 malloc/mtrace.c             |    4 ++--
 nptl/pthread_atfork.c       |    8 ++------
 nptl/tst-atfork2mod.c       |    2 +-
 posix/wordexp-test.c        |    5 ++---
 stdlib/at_quick_exit.c      |    8 ++------
 stdlib/atexit.c             |    9 ++-------
 stdlib/tst-tls-atexit-lib.c |    3 +--
 13 files changed, 46 insertions(+), 46 deletions(-)
 create mode 100644 include/dso_handle.h

-- 
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]