Commit 3c88b88a by Maciej W. Rozycki Committed by Maciej W. Rozycki

target-supports.exp (check_effective_target_arm_cortex_m): Return right away if !arm*-*-*.

	* lib/target-supports.exp (check_effective_target_arm_cortex_m):
	Return right away if !arm*-*-*.

From-SVN: r214797
parent eddcad13
2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
* lib/target-supports.exp (check_effective_target_arm_cortex_m):
Return right away if !arm*-*-*.
2014-09-01 Bernd Schmidt <bernds@codesourcery.com> 2014-09-01 Bernd Schmidt <bernds@codesourcery.com>
* gcc.c-torture/unsorted/386.c: Move to ... * gcc.c-torture/unsorted/386.c: Move to ...
......
...@@ -2819,6 +2819,9 @@ proc check_effective_target_arm_cond_exec { } { ...@@ -2819,6 +2819,9 @@ proc check_effective_target_arm_cond_exec { } {
# Return 1 if this is an ARM cortex-M profile cpu # Return 1 if this is an ARM cortex-M profile cpu
proc check_effective_target_arm_cortex_m { } { proc check_effective_target_arm_cortex_m { } {
if { ![istarget arm*-*-*] } {
return 0
}
return [check_no_compiler_messages arm_cortex_m assembly { return [check_no_compiler_messages arm_cortex_m assembly {
#if !defined(__ARM_ARCH_7M__) \ #if !defined(__ARM_ARCH_7M__) \
&& !defined (__ARM_ARCH_7EM__) \ && !defined (__ARM_ARCH_7EM__) \
......
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