mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Specified segment in linker script
This commit is contained in:
parent
33eead3386
commit
2f92da2f57
4 changed files with 20 additions and 2 deletions
|
@ -436,3 +436,10 @@ initrd-t SHA-XOR-CBC-vel, amit minden betöltő implementációnak támogatnia k
|
|||
esetén támogatott).
|
||||
|
||||
Ez minden, remélem hasznososnak találod!
|
||||
|
||||
Hozzájárulások
|
||||
--------------
|
||||
|
||||
Szeretnék külön köszönetet mondani [Valentin Anger](https://gitlab.com/SyrupThinker)-nek, amiért alaposan letesztelte a
|
||||
kódot számtalan igazi vason is.
|
||||
|
||||
|
|
|
@ -437,3 +437,10 @@ regenerate and encrypt the initrd image with SHA-XOR-CBC cipher, known to all th
|
|||
(Note: encryption is only supported for FS/Z initrd images.)
|
||||
|
||||
That's all, hope it will be useful!
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
I'd like to say special thanks to [Valentin Anger](https://gitlab.com/SyrupThinker) for throughfully testing this
|
||||
code on many different real hardware.
|
||||
|
||||
|
|
Binary file not shown.
|
@ -30,6 +30,10 @@
|
|||
|
||||
mmio = 0xfffffffff8000000;
|
||||
fb = 0xfffffffffc000000;
|
||||
PHDRS
|
||||
{
|
||||
boot PT_LOAD; /* one single loadable segment */
|
||||
}
|
||||
SECTIONS
|
||||
{
|
||||
. = 0xffffffffffe00000;
|
||||
|
@ -39,12 +43,12 @@ SECTIONS
|
|||
KEEP(*(.text.boot)) *(.text .text.*) /* code */
|
||||
*(.rodata .rodata.*) /* data */
|
||||
*(.data .data.*)
|
||||
}
|
||||
} :boot
|
||||
.bss (NOLOAD) : { /* bss */
|
||||
. = ALIGN(16);
|
||||
*(.bss .bss.*)
|
||||
*(COMMON)
|
||||
}
|
||||
} :boot
|
||||
|
||||
/DISCARD/ : { *(.eh_frame) *(.comment) }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue