aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.cc
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-09-16 19:49:01 +0200
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-09-30 18:28:46 +0200
commit5fb71366da6ec5cd4dbc0262c6747804e319a7b7 (patch)
tree6a38b1a91c33ade838304c7bcb7f9942250bd024 /gcc/dwarf2out.cc
parent86291da0057d01efdaba71f28cad80b69dc703a4 (diff)
downloadgcc-5fb71366da6ec5cd4dbc0262c6747804e319a7b7.zip
gcc-5fb71366da6ec5cd4dbc0262c6747804e319a7b7.tar.gz
gcc-5fb71366da6ec5cd4dbc0262c6747804e319a7b7.tar.bz2
testsuite: Only run test on target if VMA == LMA
Checking that the triplet matches arm*-*-eabi (or msp430-*-*) is not enough to know if the execution will enter an endless loop, or if it will give a meaningful result. As the execution test only work when VMA and LMA are equal, make sure that this condition is met. gcc/ChangeLog: * doc/sourcebuild.texi: Document new vma_equals_lma effective target check. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vma_equals_lma): New. * c-c++-common/torture/attr-noinit-1.c: Requre VMA == LMA to run. * c-c++-common/torture/attr-noinit-2.c: Likewise. * c-c++-common/torture/attr-noinit-3.c: Likewise. * c-c++-common/torture/attr-persistent-1.c: Likewise. * c-c++-common/torture/attr-persistent-3.c: Likewise. Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'gcc/dwarf2out.cc')
0 files changed, 0 insertions, 0 deletions