[PATCH] user: Document RSB --with/without-newlib-tls

Chris Johns chrisj at rtems.org
Fri Sep 9 05:24:36 UTC 2022


Thanks for adding this. Please push.

Chris

On 9/9/2022 3:18 pm, Sebastian Huber wrote:
> 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:
>  ``--with-objc``
>    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 devel mailing list