stm32h7: rename startup code .init.text section to .init

Do this for compatibility with INIT_ATTR, which uses the
.init section.

Change-Id: I473c29e3d38e5d5a563c98fc910d725024072735
This commit is contained in:
Aidan MacDonald 2026-01-22 13:39:40 +00:00
parent bd73e0dd42
commit 174b33cc07
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ SECTIONS
{
loadaddress = .; /* only needed to keep ROLO happy */
*(.init.text*)
*(.init*)
*(.text*)
} > SRAM_AXI :sram_rx

View file

@ -18,7 +18,7 @@ SECTIONS
{
KEEP(*(.vectors.arm))
KEEP(*(.vectors.platform))
*(.init.text*)
*(.init*)
*(.text*)
*(.rodata*)
} > FLASH1

View file

@ -24,7 +24,7 @@
.syntax unified
.text
.section .init.text,"ax",%progbits
.section .init,"ax",%progbits
.global reset_handler
.type reset_handler, function