From 48dd7b8c2ef7056ff4730c378ccd7e9445b5e40f Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Mon, 29 Jun 2020 14:35:08 -0500 Subject: score: Add CPU_USE_LIBC_INIT_FINI_ARRAY This introduces the CPU_USE_LIBC_INIT_FINI_ARRAY define for use by CPU ports to determine which global constructor and destructor methods are used instead of placing architecture defines where they shouldn't be. Close #4018 --- cpukit/score/cpu/sh/include/rtems/score/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/cpu/sh/include/rtems/score') diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpu.h b/cpukit/score/cpu/sh/include/rtems/score/cpu.h index a7cd5f89fd..9264479153 100644 --- a/cpukit/score/cpu/sh/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/include/rtems/score/cpu.h @@ -535,6 +535,8 @@ void _CPU_Context_Initialize( #define CPU_USE_GENERIC_BITFIELD_CODE TRUE +#define CPU_USE_LIBC_INIT_FINI_ARRAY FALSE + /* functions */ /* -- cgit v1.2.3