loader: refactor
This commit is contained in:
1 parent
c86554e954
commit
24795891ec
3 files changed
+29
-20
No files matched your search
@@ -15,6 +15,14 @@ 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);
|
||||
|
||||
Reference in new issue
Block a user