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/14132] Get rid of INTDEF/INTUSE and *_internal aliases


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

--- 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  620f462e88f6e7b59488a963b3c42d89035e4ba6 (commit)
      from  c763c5d27112be055920c46f3be8d05bc8b669da (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=620f462e88f6e7b59488a963b3c42d89035e4ba6

commit 620f462e88f6e7b59488a963b3c42d89035e4ba6
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Oct 8 23:19:32 2014 +0000

    Don't use INTUSE with __adjtimex (bug 14132).

    Bug 14132 is removal of the old INTDEF/INTUSE system of *_internal
    aliases as obsoleted by the hidden_proto / hidden_def system.  Various
    cases were cleaned up in 2012, but some remain.  This patch removes
    the use of this mechanism for __adjtimex.

    Tested for x86_64 that stripped installed shared libraries are
    unchanged by the patch.

        [BZ #14132]
        * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
        * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
        use INTUSE.
        [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
        Remove alias.
        (__adjtimex): Define using libc_hidden_ver.
        * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
        Remove declaration.
        (ntp_gettime): Call __adjtimex directly.
        * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
        Remove declaration.
        (ntp_gettimex): Call __adjtimex directly.
        * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
        __adjtimex_internal alias.

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

Summary of changes:
 ChangeLog                                          |   19 +++++++++++++++++++
 sysdeps/unix/sysv/linux/adjtime.c                  |    3 +--
 sysdeps/unix/sysv/linux/alpha/adjtime.c            |    2 +-
 .../sysv/linux/include/sys/timex.h}                |   11 ++++++-----
 sysdeps/unix/sysv/linux/ntp_gettime.c              |    5 +----
 sysdeps/unix/sysv/linux/ntp_gettimex.c             |    5 +----
 sysdeps/unix/sysv/linux/syscalls.list              |    2 +-
 7 files changed, 30 insertions(+), 17 deletions(-)
 copy sysdeps/{powerpc/powerpc64/multiarch/bcopy-ppc64.c =>
unix/sysv/linux/include/sys/timex.h} (80%)

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