<div dir="ltr">Is TLS actually supported on all targets except MIPS?<div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 8, 2022 at 1:51 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">libstdc++-v3/ChangeLog:<br>
<br>
* crossconfig.m4 (*-rtems*): Enable TLS support for all RTEMS targets<br>
except mips.<br>
---<br>
libstdc++-v3/crossconfig.m4 | 7 +++++++<br>
1 file changed, 7 insertions(+)<br>
<br>
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4<br>
index ae5283b7ad3..732f6818074 100644<br>
--- a/libstdc++-v3/crossconfig.m4<br>
+++ b/libstdc++-v3/crossconfig.m4<br>
@@ -249,6 +249,13 @@ case "${host}" in<br>
GLIBCXX_CHECK_LINKER_FEATURES<br>
GLIBCXX_CHECK_MATH_SUPPORT<br>
GLIBCXX_CHECK_STDLIB_SUPPORT<br>
+ case "$target" in<br>
+ mips*-rtems*)<br>
+ ;;<br>
+ *)<br>
+ AC_DEFINE(HAVE_TLS)<br>
+ ;;<br>
+ esac<br>
;;<br>
*-tpf)<br>
SECTION_FLAGS='-ffunction-sections -fdata-sections'<br>
-- <br>
2.35.3<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>