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/21745] [powerpc64le] Extra PLT reference with --enable-stack-protector=all


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

--- Comment #2 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  61c45f250528dae431391823a9766053e61ccde1 (commit)
      from  5bcdb315295f3bb73c082fc944d9e10a304adb0a (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=61c45f250528dae431391823a9766053e61ccde1

commit 61c45f250528dae431391823a9766053e61ccde1
Author: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Date:   Fri Sep 15 15:07:28 2017 -0300

    [BZ #21745] powerpc: build some IFUNC math functions for libc and libm

    Some math functions have to be distributed in libc because they're
    required by printf.
    libc and libm require their own builds of these functions, e.g. libc
    functions have to call __stack_chk_fail_local in order to bypass the
    PLT, while libm functions have to call __stack_chk_fail.

    While math/Makefile treat the generic cases, i.e. s_isinff, the
    multiarch Makefile has to treat its own files, i.e. s_isinff-ppc64.

        [BZ #21745]
        * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
        [$(subdir) = math] (sysdep_calls): New variable.  Has the
        previous contents of sysdep_routines, but re-sorted..
        [$(subdir) = math] (sysdep_routines): Re-use the contents from
        sysdep_calls.
        [$(subdir) = math] (libm-sysdep_routines): Remove the functions
        defined in sysdep_calls and replace by the respective m_* names.
        * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
        (compat_symbol): Undefine to avoid duplicated compat symbols in
        libc.

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

Summary of changes:
 ChangeLog                                          |   14 ++++++++
 sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile   |   36 ++++++++++---------
 .../powerpc64/fpu/multiarch/s_isnan-ppc64.S        |    3 ++
 3 files changed, 36 insertions(+), 17 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]