arm-trusted-firmware/docs/design
Boyan Karatotev 53644fa822 fix(libc): make sure __init functions are garbage collected
RECLAIM_INIT_CODE is useful to remove code that is only necessary during
boot. However, these functions are generally called once and as such
prime candidates for inlining. When building with LTO, the compiler is
pretty good at inlining every single one, making this option pointless.

So tell the compiler to not inline these functions. This ensures they
are kept separate and they can be garbage collected later. This is
expected to cost a little bit of speed due to the extra branching.

Change-Id: Ie83a9ec8db03cb42139742fc6d728d12ce8549d3
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
2025-04-09 09:39:10 +01:00
..
alt-boot-flows.rst doc: Split the User Guide into multiple files 2019-11-27 10:45:54 +00:00
auth-framework.rst docs(auth): extrapolate on the functions within a CM 2024-12-09 14:00:33 +00:00
console-framework.rst docs(console): updated console docs 2025-02-12 10:18:57 +00:00
cpu-specific-build-macros.rst fix(cpus): remove errata setting PF_MODE to conservative 2025-03-31 01:00:27 +01:00
firmware-design.rst fix(libc): make sure __init functions are garbage collected 2025-04-09 09:39:10 +01:00
index.rst docs(console): updated console docs 2025-02-12 10:18:57 +00:00
interrupt-framework-design.rst Fix broken links to various sections across docs 2020-08-03 09:55:04 -05:00
psci-pd-tree.rst doc: Set correct syntax highlighting style 2019-05-22 11:28:17 +01:00
reset-design.rst docs: update RESET_TO_BL31 documentation 2023-03-09 14:42:49 +00:00
trusted-board-boot-build.rst docs(arm): update docs to reflect rotpk key changes 2024-12-30 12:32:22 +01:00
trusted-board-boot.rst docs(arm): update docs to reflect rotpk key changes 2024-12-30 12:32:22 +01:00