[Bug target/105472] [13 regression] .note.GNU-stack breaks many Solaris/x86 tests

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 10 16:51:04 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105472

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:6b5ca56fec4f713add424a5131350b28ce81e9da

commit r11-9976-g6b5ca56fec4f713add424a5131350b28ce81e9da
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri May 6 10:55:53 2022 -0700

    x86: Add .note.GNU-stack section only for Linux

    Add .note.GNU-stack section only for Linux since it may not be supported
    on non-Linux OSes.  __ELF__ isn't checked since these tests can only run
    on Linux/x86 ELF systems.

            PR target/105472
            * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack section
            only for Linux.
            * gcc.target/x86_64/abi/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise.
            * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise.

    (cherry picked from commit 71eae0fd3dd7a5f30067ea26a06a8774355fd5cc)


More information about the Gcc-bugs mailing list