From d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:45:28 +0000 Subject: [PATCH] add boot partition size --- kernel/arch/parisc/boot/compressed/vmlinux.lds.S | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/kernel/arch/parisc/boot/compressed/vmlinux.lds.S b/kernel/arch/parisc/boot/compressed/vmlinux.lds.S index 41ebe97..ab7b439 100644 --- a/kernel/arch/parisc/boot/compressed/vmlinux.lds.S +++ b/kernel/arch/parisc/boot/compressed/vmlinux.lds.S @@ -42,6 +42,12 @@ #endif _startcode_end = .; + /* vmlinux.bin.gz is here */ + . = ALIGN(8); + .rodata.compressed : { + *(.rodata.compressed) + } + /* bootloader code and data starts at least behind area of extracted kernel */ . = MAX(ABSOLUTE(.), (SZ_end - SZparisc_kernel_start + KERNEL_BINARY_TEXT_START)); @@ -68,10 +74,6 @@ _erodata = . ; } . = ALIGN(8); - .rodata.compressed : { - *(.rodata.compressed) - } - . = ALIGN(8); .bss : { _bss = . ; *(.bss) @@ -82,6 +84,7 @@ } STABS_DEBUG + ELF_DETAILS .note 0 : { *(.note) } /* Sections to be discarded */ -- Gitblit v1.6.2