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 dynamic-link/20309] tls_shared_gnu2_test fails on Fedora 24


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

--- Comment #5 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/pr20309/master has been created
        at  14dbd01a991fc8cc6d7bc2762bfc8d2ad1da2cdf (commit)

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

commit 14dbd01a991fc8cc6d7bc2762bfc8d2ad1da2cdf
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 29 04:01:58 2016 -0700

    X86-64: Properly align stack in _dl_tlsdesc_dynamic

    Since _dl_tlsdesc_dynamic is called via PLT, we need to add 8 bytes for
    push in the PLT entry to align the stack.

        [BZ #20309]
        * configure.ac (have-mtls-dialect-gnu2): Set to yes if
        -mtls-dialect=gnu2 works.
        * configure: Regenerated.
        * elf/Makefile [have-mtls-dialect-gnu2 = yes]
        (tests): Add tst-gnu2-tls1.
        (modules-names): Add tst-gnu2-tls1mod.
        ($(objpfx)tst-gnu2-tls1): New.
        (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
        (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
        * elf/tst-gnu2-tls1.c: New file.
        * elf/tst-gnu2-tls1mod.c: Likewise.
        * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
        bytes for push in the PLT entry to align the stack.

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

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