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 #7 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  33c898d1607c1b8dac69c76eec289980292ebfc2 (commit)
       via  7e58ab243de4a89c49eec1521970c2a05c9e4adc (commit)
      from  3552daa7ac08c8dd2fc59393fc57e0b4e7aec94e (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=33c898d1607c1b8dac69c76eec289980292ebfc2

commit 33c898d1607c1b8dac69c76eec289980292ebfc2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 19 04:40:35 2015 -0700

    Mark __xstatXX_conv as hidden

    __xstat_conv, __xstat64_conv and __xstat32_conv are internal to glibc.
    They should be marked as hidden so that they can't be called without
    PLT.

        [BZ #18822]
        * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
        attribute_hidden.
        (__xstat64_conv): Likewise.
        (__xstat32_conv): Likewise.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7e58ab243de4a89c49eec1521970c2a05c9e4adc

commit 7e58ab243de4a89c49eec1521970c2a05c9e4adc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 19 04:39:47 2015 -0700

    Call __setcontext with HIDDEN_JUMPTARGET

    i386 __makecontext should call __setcontext with HIDDEN_JUMPTARGET.

        [BZ #18822]
        * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
        Don't load %ebx when calling __setcontext.  Call __setcontext
        with HIDDEN_JUMPTARGET.
        * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
        libc_hidden_def.

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

Summary of changes:
 ChangeLog                                  |   17 +++++++++++++++++
 sysdeps/unix/sysv/linux/i386/makecontext.S |    7 +------
 sysdeps/unix/sysv/linux/i386/setcontext.S  |    1 +
 sysdeps/unix/sysv/linux/xstatconv.h        |    9 ++++++---
 4 files changed, 25 insertions(+), 9 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]