2020-07-04 19:12:12 +00:00
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
PROVIDE(__ipl_start = LDR_LOAD_ADDR);
|
|
|
|
. = __ipl_start;
|
|
|
|
.text : {
|
|
|
|
*(.text._start);
|
2021-05-11 06:51:08 +00:00
|
|
|
KEEP(*(._boot_cfg));
|
|
|
|
KEEP(*(._ipl_version));
|
|
|
|
KEEP(*(._octopus));
|
2020-07-04 19:12:12 +00:00
|
|
|
*(.text*);
|
|
|
|
}
|
|
|
|
.data : {
|
|
|
|
*(.data*);
|
|
|
|
*(.rodata*);
|
|
|
|
*(._payload_00);
|
|
|
|
*(._payload_01);
|
2022-12-19 02:31:54 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* To mitigate bad injectors/chainloaders,
|
|
|
|
* miss-align binary size to account for version info.
|
|
|
|
* !If version text is not appended, then use ". = ALIGN(4)"!
|
|
|
|
*/
|
|
|
|
data_end_ua = .;
|
|
|
|
. = ((data_end_ua + 0x6 + 4 - 1) & ~(4 - 1)) - 6;
|
2020-07-04 19:12:12 +00:00
|
|
|
}
|
|
|
|
__ldr_end = .;
|
|
|
|
. = ALIGN(0x10);
|
|
|
|
__ipl_end = .;
|
|
|
|
}
|