[rtems-docs commit] user: Document RSB --with/without-newlib-tls

Sebastian Huber sebh at rtems.org
Fri Sep 9 05:32:53 UTC 2022

Module:    rtems-docs
Branch:    master
Commit:    91e8654b1151db78b19ddcfe0ad10e386a8f2fe3
Changeset: http://git.rtems.org/rtems-docs/commit/?id=91e8654b1151db78b19ddcfe0ad10e386a8f2fe3

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep  9 07:15:08 2022 +0200

user: Document RSB --with/without-newlib-tls

Update #4560.


 user/rsb/project-sets.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/user/rsb/project-sets.rst b/user/rsb/project-sets.rst
index 54a3f8e..ce839c5 100644
--- a/user/rsb/project-sets.rst
+++ b/user/rsb/project-sets.rst
@@ -116,6 +116,15 @@ build sets:
   Attempt to build a C++ compiler.
+``--with-newlib-tls`` or ``--without-newlib-tls``
+  Enable or disable the ``--enable-newlib-reent-thread-local`` Newlib
+  configuration option.  This option is enabled by default on the aarch64, arm,
+  nios2, powerpc, riscv, and sparc targets.  If this option is enabled, then
+  each member of the Newlib struct _reent is replaced by a dedicated
+  thread-local object.  The thread-local objects are defined in translation
+  units which use the corresponding object so that only objects used by the
+  application are linked in.
 The RSB provides build sets for some BSPs. These build sets will build:
 - Compiler, linker, debugger and RTEMS Tools.

More information about the vc mailing list