aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-09-17 12:54:11 +0000
committerNick Clifton <nickc@gcc.gnu.org>2013-09-17 12:54:11 +0000
commit4fce5f027cf84b6237b6f7d90b3b00f7ab7ca4d4 (patch)
tree7b5715be4cfbab570265f1480dac6fceff8a7151
parent757b16440b5d9edd0979cd8b31fd5a92bc537b7b (diff)
downloadgcc-4fce5f027cf84b6237b6f7d90b3b00f7ab7ca4d4.zip
gcc-4fce5f027cf84b6237b6f7d90b3b00f7ab7ca4d4.tar.gz
gcc-4fce5f027cf84b6237b6f7d90b3b00f7ab7ca4d4.tar.bz2
target-supports.exp (check_effective_target_trampolines): Add MSP430 to the list of targets that do not support trampolines.
* lib/target-supports.exp (check_effective_target_trampolines): Add MSP430 to the list of targets that do not support trampolines. (check_profiling_available): Add MSP430 to the list of targets that do not support profiling. (check_effective_target_tls_runtime): Add MSP430 to the list of targets that do not support TLS. From-SVN: r202651
-rw-r--r--gcc/testsuite/ChangeLog10
-rw-r--r--gcc/testsuite/lib/target-supports.exp13
2 files changed, 20 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7ae7ea1..48f6256 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2013-09-17 Nick Clifton <nickc@redhat.com>
+
+ * lib/target-supports.exp (check_effective_target_trampolines):
+ Add MSP430 to the list of targets that do not support
+ trampolines.
+ (check_profiling_available): Add MSP430 to the list of targets
+ that do not support profiling.
+ (check_effective_target_tls_runtime): Add MSP430 to the list of
+ targets that do not support TLS.
+
2013-09-17 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt27.adb: New test.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 0905821..e6e9d77 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -435,9 +435,10 @@ proc check_effective_target_trampolines { } {
return 0
}
if { [istarget avr-*-*]
+ || [istarget msp430-*-*]
|| [istarget hppa2.0w-hp-hpux11.23]
- || [istarget hppa64-hp-hpux11.23] } {
- return 0;
+ || [istarget hppa64-hp-hpux11.23] } {
+ return 0;
}
return 1
}
@@ -535,6 +536,7 @@ proc check_profiling_available { test_what } {
|| [istarget mmix-*-*]
|| [istarget mn10300-*-elf*]
|| [istarget moxie-*-elf*]
+ || [istarget msp430-*-*]
|| [istarget picochip-*-*]
|| [istarget powerpc-*-eabi*]
|| [istarget powerpc-*-elf]
@@ -652,6 +654,11 @@ proc check_effective_target_tls_emulated {} {
# Return 1 if TLS executables can run correctly, 0 otherwise.
proc check_effective_target_tls_runtime {} {
+ # MSP430 runtime does not have TLS support, but just
+ # running the test below is insufficient to show this.
+ if { [istarget msp430-*-*] } {
+ return 0
+ }
return [check_runtime tls_runtime {
__thread int thr = 0;
int main (void) { return thr; }
@@ -2222,7 +2229,7 @@ proc check_effective_target_arm_v8_vfp_ok {} {
# options.
proc check_effective_target_arm_hard_vfp_ok { } {
- if { [check_effective_target_arm32]
+ if { [check_effective_target_arm32]
&& ! [check-flags [list "" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" }]] } {
return [check_no_compiler_messages arm_hard_vfp_ok executable {
int main() { return 0;}