Commit 18ab8855 by Christophe Lyon Committed by Christophe Lyon

[ARM/FDPIC v6 22/24] [ARM][testsuite] FDPIC: Skip tests that require -static support

Since FDPIC does not support -static, skip the related tests.

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>

	gcc/testsuite/
	* lib/target-supports.exp (check_effective_target_static): Disable
	for ARM FDPIC target.

From-SVN: r275583
parent fec08d85
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
* lib/target-supports.exp (check_effective_target_static): Disable
for ARM FDPIC target.
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
* gcc.target/arm/pr43698.c (bswap_32): Rename as my_bswap_32.
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
......
......@@ -1087,6 +1087,9 @@ proc check_effective_target_pe_aligned_commons {} {
# Return 1 if the target supports -static
proc check_effective_target_static {} {
if { [istarget arm*-*-uclinuxfdpiceabi] } {
return 0;
}
return [check_no_compiler_messages static executable {
int main (void) { return 0; }
} "-static"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment