Revert changes on loader

This commit is contained in:
suchmememanyskill
2023-07-29 00:12:12 +02:00
parent 8a568e42ba
commit 917291374c
3 changed files with 20 additions and 61 deletions

View File

@@ -6,8 +6,6 @@ SECTIONS {
.text : {
*(.text._start);
KEEP(*(._boot_cfg));
KEEP(*(._ipl_version));
KEEP(*(._octopus));
*(.text*);
}
.data : {
@@ -15,14 +13,6 @@ SECTIONS {
*(.rodata*);
*(._payload_00);
*(._payload_01);
/*
* 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;
}
__ldr_end = .;
. = ALIGN(0x10);