1 /* 2 * Copyright (c) 2021 Synopsys, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Author: Evgeniy Paltsev 7 */ 8 9 #ifdef CONFIG_CPP_STATIC_INIT_GNU 10 11 void __do_global_ctors_aux(void); 12 void __do_init_array_aux(void); 13 z_cpp_init_static(void)14void z_cpp_init_static(void) 15 { 16 __do_global_ctors_aux(); 17 __do_init_array_aux(); 18 } 19 20 #else 21 22 #ifdef __CCAC__ 23 void __do_global_ctors_aux(void); 24 z_cpp_init_static(void)25void z_cpp_init_static(void) 26 { 27 __do_global_ctors_aux(); 28 } 29 #endif /* __CCAC__ */ 30 31 #endif /* CONFIG_CPP_STATIC_INIT_GNU */ 32