[PATCH] Introduce _REENT_GLOBAL_STDIO_STREAMS

Gedare Bloom gedare at rtems.org
Thu Jun 22 14:52:31 UTC 2017


Submit to newlib ml. It looks like a reasonable thing to do if the
newlib general maintainers agree with the use of the new option.

On Thu, Jun 22, 2017 at 4:11 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> The per-thread memory reduction is noticeable:
>
> (gdb) p sizeof(struct _reent)
> $1 = 344
> (gdb) p sizeof(__sf)
> $2 = 384
> (gdb)
>
> So, struct _reent is more than 50% smaller.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list