On 29/06/2020 18:52, Kinsey Moore wrote:

+    #if defined(CPU_USE_LIBC_INIT_FINI_ARRAY)

The test should be CPU_USE_LIBC_INIT_FINI_ARRAY == TRUE. There should be a

#define CPU_USE_LIBC_INIT_FINI_ARRAY FALSE

for all CPUs not having this stuff. There should be a documentation in

cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h

Ideally, there should be also a static assertion that 
CPU_USE_LIBC_INIT_FINI_ARRAY is defined to TRUE or FALSE.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to