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 #79 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, hjl/pr18822 has been created
        at  5b9a7b35871fc94f42a9e0f1a034423b48d3a4e7 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b9a7b35871fc94f42a9e0f1a034423b48d3a4e7

commit 5b9a7b35871fc94f42a9e0f1a034423b48d3a4e7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Nov 24 15:58:04 2017 -0800

    Add wcharP.h to hide internal wchar functions [BZ #18822]

    For some targets, like i386 and s390, internal IFUNC functions must be
    called via PLT with a special register.  Add <wcharP.h> to allow targets,
    which don't need a special register to call internal IFUNC functions via
    PLT or have internal non-IFUNC wchar functions, to allow direct access to
    internal wchar functions within libc.so and libc.a without using GOT nor
    PLT.

    Tested on i686 and x86-64.  It removed 11 PLT relocations on i686 and
    29 PLT relocations on x86-64.

        [BZ #18822]
        * include/wchar.h: Include <wcharP.h>.
        * sysdeps/generic/wcharP.h: New file.
        * sysdeps/i386/wcharP.h: Likewise.
        * sysdeps/x86_64/wcharP.h: Likewise.

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

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