[Bug libc/21745] [powerpc64le] Extra PLT reference with --enable-stack-protector=all

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Jan 11 16:17:00 GMT 2019


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

--- Comment #4 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, release/2.26/master has been updated
       via  7ab39c6a3cd4a61a2be3d2e6a2a56f4dccca9750 (commit)
       via  d851e9199e80ced73ee497339b6231950efbf785 (commit)
      from  a5bd0ba1926ecb6f6b4693921c60cdfca82e5c91 (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=7ab39c6a3cd4a61a2be3d2e6a2a56f4dccca9750

commit 7ab39c6a3cd4a61a2be3d2e6a2a56f4dccca9750
Author: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Date:   Fri Nov 17 18:20:42 2017 -0200

    powerpc: Regenerate ULPs

    On POWER9, cbrtf128 fails by 1 ULP.

        * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate.

    Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
    (cherry picked from commit 428fc49eaafe0fe5352445fcf23d9f603e9083a2)

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

commit d851e9199e80ced73ee497339b6231950efbf785
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.

    (cherry picked from commit 61c45f250528dae431391823a9766053e61ccde1)

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

Summary of changes:
 ChangeLog                                          |   18 ++++++++++
 sysdeps/powerpc/fpu/libm-test-ulps                 |    4 +-
 sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile   |   36 ++++++++++---------
 .../powerpc64/fpu/multiarch/s_isnan-ppc64.S        |    3 ++
 4 files changed, 42 insertions(+), 19 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list