]> gcc.gnu.org Git - gcc.git/commit
x86: Add .note.GNU-stack section only for Linux
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 May 2022 17:55:53 +0000 (10:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 10 May 2022 16:41:51 +0000 (09:41 -0700)
commit71eae0fd3dd7a5f30067ea26a06a8774355fd5cc
tree98d4464bbca9ac90cf2d1156e0c69c1089015f1b
parentddd46293e2b508b260eefe1adbad6720df7a5dd2
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/avx512fp16/asm-support.S: Likewise.
* gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: Likewise.
* gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise.
* gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise.
gcc/testsuite/gcc.target/i386/iamcu/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/avx512f/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/avx512fp16/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S
gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/do-test.S
This page took 0.069785 seconds and 5 git commands to generate.