mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-09 23:53:28 -04:00
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:
parent
bd73e0dd42
commit
174b33cc07
3 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ SECTIONS
|
|||
{
|
||||
loadaddress = .; /* only needed to keep ROLO happy */
|
||||
|
||||
*(.init.text*)
|
||||
*(.init*)
|
||||
*(.text*)
|
||||
} > SRAM_AXI :sram_rx
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ SECTIONS
|
|||
{
|
||||
KEEP(*(.vectors.arm))
|
||||
KEEP(*(.vectors.platform))
|
||||
*(.init.text*)
|
||||
*(.init*)
|
||||
*(.text*)
|
||||
*(.rodata*)
|
||||
} > FLASH1
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
.syntax unified
|
||||
.text
|
||||
|
||||
.section .init.text,"ax",%progbits
|
||||
.section .init,"ax",%progbits
|
||||
|
||||
.global reset_handler
|
||||
.type reset_handler, function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue