[PATCH] score: Clarify CPU_USE_LIBC_INIT_FINI_ARRAY option
Gedare Bloom
gedare at rtems.org
Tue Jun 30 15:06:01 UTC 2020
thanks, good clarification
On Tue, Jun 30, 2020 at 1:52 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> Update #4018.
> ---
> cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> index 84125aa16b..50313bbd61 100644
> --- a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> +++ b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> @@ -250,9 +250,10 @@ extern "C" {
> #define CPU_MAXIMUM_PROCESSORS 32
>
> /**
> - * The following define determines whether or not this CPU port will use
> - * libc global constructors and destructors instead of _init/_fini functions
> - * depending on .ctors and .dtors linker sections.
> + * The following define determines whether or not this CPU port will use the C
> + * library support to run the global constructors and destructors on
> + * architectures that use .init_array and .fini_array sections. If defined to
> + * FALSE, then the _init() and _fini() functions will be used.
> */
> #define CPU_USE_LIBC_INIT_FINI_ARRAY TRUE
>
> --
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list