mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
microblaze: Fix initramfs
Patch: initramfs: generalize initramfs_data.xxx.S variants
(sha1 6ae64e428f
)
requires hooks in linker script.
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
473ff6609c
commit
8cb473da3f
1 changed files with 3 additions and 13 deletions
|
@ -123,20 +123,10 @@ SECTIONS {
|
|||
|
||||
__init_end_before_initramfs = .;
|
||||
|
||||
.init.ramfs ALIGN(PAGE_SIZE) : AT(ADDR(.init.ramfs) - LOAD_OFFSET) {
|
||||
__initramfs_start = .;
|
||||
*(.init.ramfs)
|
||||
__initramfs_end = .;
|
||||
. = ALIGN(4);
|
||||
LONG(0);
|
||||
/*
|
||||
* FIXME this can break initramfs for MMU.
|
||||
* Pad init.ramfs up to page boundary,
|
||||
* so that __init_end == __bss_start. This will make image.elf
|
||||
* consistent with the image.bin
|
||||
*/
|
||||
/* . = ALIGN(PAGE_SIZE); */
|
||||
.init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) {
|
||||
INIT_RAM_FS
|
||||
}
|
||||
|
||||
__init_end = .;
|
||||
|
||||
.bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) {
|
||||
|
|
Loading…
Reference in a new issue