[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
This commit is contained in:
parent
fec08d85b0
commit
18ab885590
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue