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 build/7065] Support building glibc with -fstack-protector or -fstack-protector-all


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

--- Comment #28 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/pr21741 has been created
        at  9f9d3a4ca3428f053393d38fec146b7511a02272 (commit)

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

commit 9f9d3a4ca3428f053393d38fec146b7511a02272
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jul 9 11:52:33 2017 -0700

    Don't include _dl_resolve_conflicts in libc.a [BZ #21742]

    Since _dl_resolve_conflicts is only used in elf/rtld.c, don't include
    it in libc.a.

        [BZ #21742]
        * elf/dl-conflict.c (_dl_resolve_conflicts): Define only if
        SHARED is defined.

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

commit 7fec70268f9b52c80c2a0994839c779c53cc2800
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jul 9 11:11:15 2017 -0700

    x86-64: Test memmove_chk and memset_chk only in libc.so [BZ #21741]

    Since there are no multiarch versions of memmove_chk and memset_chk,
    test multiarch versions of memmove_chk and memset_chk only in libc.so.

        [BZ #21741]
        * sysdeps/x86_64/multiarch/ifunc-impl-list.c
        (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
        in libc.so.

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

commit 4df365be4710ab6678df5435146ed4b118472d71
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jul 9 08:39:17 2017 -0700

    Remove debug/stack_chk_fail_local.c [BZ #21740]

    Since

    commit 524a8ef2ad76af8ac049293d993a1856b0d888fb
    Author: Nick Alcock <nick.alcock@oracle.com>
    Date:   Mon Dec 26 10:08:57 2016 +0100

        PLT avoidance for __stack_chk_fail [BZ #7065]

        Add a hidden __stack_chk_fail_local alias to libc.so,
        and make sure that on targets which use __stack_chk_fail,
        this does not introduce a local PLT reference into libc.so.

    added

    strong_alias (__stack_chk_fail, __stack_chk_fail_local)

    to debug/stack_chk_fail.c, debug/stack_chk_fail_local.c should be
    removed.

        * [BZ #21740]
        * debug/Makefile (static-only-routines): Remove
        stack_chk_fail_local.
        * debug/stack_chk_fail_local.c: Removed.

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

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