0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Retain space saving benefits when not using LTO

This commit is contained in:
bricky149
2023-10-04 22:24:07 +01:00
parent fe949d2ae3
commit 4a05e69e19
2 changed files with 11 additions and 1 deletions

View File

@ -17,7 +17,7 @@ SECTIONS
.text :
{
. = ALIGN(4);
*(.text.isr) /* .text sections of code */
KEEP(*(.text.isr)) /* .text sections of code */
*(.text) /* .text sections of code */
*(.text*) /* .text* sections of code */
*(.rodata) /* .rodata sections */