This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/iamcu/improve in repository gcc.
commit 1484813ba2b12026f57323f004de81f2eda618f9 Author: H.J. Lu hjl.tools@gmail.com Date: Wed Jul 8 19:46:43 2015 -0700
IA MCU run-time doesn't support TLS
Return 0 in check_effective_target_tls_native and check_effective_target_tls_emulated for IA MCU target. --- gcc/testsuite/lib/target-supports.exp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 1988301..c97fa08 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -701,8 +701,9 @@ proc check_effective_target_tls {} {
proc check_effective_target_tls_native {} { # VxWorks uses emulated TLS machinery, but with non-standard helper - # functions, so we fail to automatically detect it. - if { [istarget *-*-vxworks*] } { + # functions, so we fail to automatically detect it. IA MCU run-time + # doesn't support TLS. + if { [istarget *-*-vxworks*] || [istarget *-*-elfiamcu] } { return 0 }
@@ -716,6 +717,11 @@ proc check_effective_target_tls_native {} { # Return 1 if *emulated* thread local storage (TLS) is supported, 0 otherwise.
proc check_effective_target_tls_emulated {} { + # IA MCU run-time doesn't support TLS. + if { [istarget *-*-elfiamcu] } { + return 0 + } + # VxWorks uses emulated TLS machinery, but with non-standard helper # functions, so we fail to automatically detect it. if { [istarget *-*-vxworks*] } {