C-SKY: Refine target name for elf target test
authorJojo R <jiejie_rong@c-sky.com>
Wed, 16 Sep 2020 10:34:43 +0000 (18:34 +0800)
committerXianmiao Qu <xianmiao_qu@c-sky.com>
Wed, 16 Sep 2020 11:34:14 +0000 (19:34 +0800)
gcc/testsuite/ChangeLog:

* lib/target-supports.exp (check_profiling_available): Refine name of elf target.

gcc/testsuite/lib/target-supports.exp

index 6881b66cd23d38a09179889ad2edb0df55fd1270..60f76dbd6072f3e4cba44eb41ba6a78fe49da784 100644 (file)
@@ -698,7 +698,7 @@ proc check_profiling_available { test_what } {
             || [istarget avr-*-*]
             || [istarget bfin-*-*]
             || [istarget cris-*-*]
-            || [istarget csky-*-elf]
+            || [istarget csky-*-elf*]
             || [istarget fido-*-elf]
             || [istarget h8300-*-*]
             || [istarget lm32-*-*]