+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.
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
}
|| [istarget mmix-*-*]
|| [istarget mn10300-*-elf*]
|| [istarget moxie-*-elf*]
+ || [istarget msp430-*-*]
|| [istarget picochip-*-*]
|| [istarget powerpc-*-eabi*]
|| [istarget powerpc-*-elf]
# 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; }
# 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;}