mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-25 16:08:32 +00:00
fixup! feat(core/rust): bootloader implementation in rust
This commit is contained in:
parent
762bc938e0
commit
d3a5479261
@ -23,7 +23,7 @@ ccmram_end = ORIGIN(CCMRAM) + LENGTH(CCMRAM);
|
|||||||
sram_start = ORIGIN(SRAM);
|
sram_start = ORIGIN(SRAM);
|
||||||
sram_end = ORIGIN(SRAM) + LENGTH(SRAM);
|
sram_end = ORIGIN(SRAM) + LENGTH(SRAM);
|
||||||
|
|
||||||
_codelen = SIZEOF(.flash) + SIZEOF(.data) + SIZEOF(.exidx) + SIZEOF(.align);
|
_codelen = SIZEOF(.flash) + SIZEOF(.data);
|
||||||
|
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
.header : ALIGN(4) {
|
.header : ALIGN(4) {
|
||||||
@ -36,15 +36,6 @@ SECTIONS {
|
|||||||
*(.text*);
|
*(.text*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
*(.rodata*);
|
*(.rodata*);
|
||||||
. = ALIGN(4);
|
|
||||||
} >FLASH AT>FLASH
|
|
||||||
|
|
||||||
/* exception handling info generated by llvm which should consist of 8 bytes of "cantunwind" */
|
|
||||||
.exidx : ALIGN(4) {
|
|
||||||
*(.ARM.exidx*);
|
|
||||||
} >FLASH AT>FLASH
|
|
||||||
|
|
||||||
.align : ALIGN(4) {
|
|
||||||
. = ALIGN(512);
|
. = ALIGN(512);
|
||||||
} >FLASH AT>FLASH
|
} >FLASH AT>FLASH
|
||||||
|
|
||||||
@ -57,6 +48,10 @@ SECTIONS {
|
|||||||
. = ALIGN(512);
|
. = ALIGN(512);
|
||||||
} >CCMRAM AT>FLASH
|
} >CCMRAM AT>FLASH
|
||||||
|
|
||||||
|
/DISCARD/ : {
|
||||||
|
*(.ARM.exidx*);
|
||||||
|
}
|
||||||
|
|
||||||
.bss : ALIGN(4) {
|
.bss : ALIGN(4) {
|
||||||
*(.bss*);
|
*(.bss*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
Loading…
Reference in New Issue
Block a user