<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/libc/cplusplus/cxx_crt_init.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/libc/cplusplus/cxx_crt_init.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/libc/cplusplus/cxx_crt_init.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-10-11T08:11:07Z</updated>
<entry>
<title>[components][libc] run .init_array constructors in cplusplus_system_init</title>
<updated>2026-10-11T08:11:07Z</updated>
<author>
<name>seteiro</name>
<email>chenmoushun@163.com</email>
</author>
<published>2026-10-10T12:34:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3577e7a6ed0f183534e207179de5251e155fd49e'/>
<id>urn:sha1:3577e7a6ed0f183534e207179de5251e155fd49e</id>
<content type='text'>
Newer GCC emits C++ global constructors into .init_array, which many
linker scripts keep outside [__ctors_start__, __ctors_end__), so they
never ran. Walk __init_array_start/__init_array_end (weak) as well,
skipping entries already covered by the ctors range.

Add RT_USING_CPP_CRT_INIT for ports whose startup runtime already runs
.init_array, default on for the simulator. With it set, only the
.init_array walk is skipped; the ctors range is still walked.

Renesas RA/RA_WIRELESS/RZ families select it when C++ is enabled: FSP
SystemInit() already walks .init_array, so boards whose linker script
only provides __init_array_* would run constructors twice. Boards that
fold .init_array into the ctors range (ra6m3-hmi-board, ra8d1, rz)
still run them once via RT-Thread.

Also source env.sh and restore RTT_EXEC_PATH in ToolsCI project generate
and dist steps so scons is on PATH (exit 127) and the ARM toolchain path
is not overwritten by env.sh.

Fixes #11778
</content>
</entry>
<entry>
<title>[libc][cpp] 增加 cxx_crt_init.c 函数注释 (#7535)</title>
<updated>2023-05-20T05:27:55Z</updated>
<author>
<name>Mengxi-Xu</name>
<email>109797814+Mengxi-Xu@users.noreply.github.com</email>
</author>
<published>2023-05-20T05:27:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1e5dc5509e0fbc325df926c8911fdc2780e7cf4c'/>
<id>urn:sha1:1e5dc5509e0fbc325df926c8911fdc2780e7cf4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[rtdef] use lower-case to define attributes (#6728)</title>
<updated>2022-12-11T18:12:03Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-12-11T18:12:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=99bdf978d7fe4ec18ed50a639e15b254825c871b'/>
<id>urn:sha1:99bdf978d7fe4ec18ed50a639e15b254825c871b</id>
<content type='text'>
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support</content>
</entry>
<entry>
<title>[components][kconfig] 整理Kconfig目录名称和结构 (#5698)</title>
<updated>2022-03-25T15:07:18Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-03-25T15:07:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a514b3bd16e4f21202cc001d9294ac2c2f206c3d'/>
<id>urn:sha1:a514b3bd16e4f21202cc001d9294ac2c2f206c3d</id>
<content type='text'>
</content>
</entry>
</feed>
