mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-26 10:26:09 +03:00
0bc400a3ae
* Remove unnecessary checks * Sublime: never insert missing headers * Cleanup furi defines use * Cleanup startup. Cleanup linker scripts. Explicitly define all interrupts hadlers, including uninmplemented one. * Startup routine in C * Drop assembler startup * Move linker defines to stm32wb55_linker.h, cleanup naming, unify usage. Mpu: protect last 32b of main stack. Document various obscure things. * Move furi_hal_switch documentation to appropriate place, use 0x0 for updater jump. * UnitTests: move all temporary test files into tmp folder --------- Co-authored-by: SG <who.just.the.doctor@gmail.com>
48 lines
676 B
Plaintext
48 lines
676 B
Plaintext
FORCE_COMMON_ALLOCATION
|
|
|
|
SECTIONS {
|
|
.text 0x00000000 : ALIGN(4) {
|
|
*(.text)
|
|
*(.stub)
|
|
*(.text*)
|
|
*(.text.*)
|
|
*(.text._*)
|
|
|
|
KEEP (*(.init))
|
|
KEEP (*(.fini))
|
|
}
|
|
|
|
.rodata : {
|
|
*(.rodata)
|
|
*(.rodata1)
|
|
*(.rodata.*)
|
|
}
|
|
|
|
.data : {
|
|
*(.data)
|
|
*(.data1)
|
|
*(.data.*)
|
|
}
|
|
|
|
|
|
.bss : {
|
|
*(.bss)
|
|
*(.bss*)
|
|
*(.sbss)
|
|
*(.sbss*)
|
|
*(COMMON)
|
|
}
|
|
|
|
.ARM.attributes : {
|
|
*(.ARM.attributes)
|
|
*(.ARM.attributes.*)
|
|
}
|
|
|
|
/DISCARD/ : {
|
|
*(.comment)
|
|
*(.comment.*)
|
|
*(.llvmbc)
|
|
*(.llvmcmd)
|
|
}
|
|
}
|