esp-hal/esp-hal-common/ld/sections/text.x
Björn Quentin 36954e740d
Merge .text_init into .text on RISC-V (#1038)
* Merge `.text_init` into `.text`

* Only merge `init.*` into `.text` for RISC-V
2023-12-18 15:15:59 +00:00

15 lines
189 B
Plaintext

SECTIONS {
.text : ALIGN(4)
{
#IF riscv
KEEP(*(.init));
KEEP(*(.init.rust));
KEEP(*(.text.abort));
#ENDIF
*(.literal .text .literal.* .text.*)
} > ROTEXT
}