aboutsummaryrefslogtreecommitdiff
path: root/arch/parisc/boot/compressed/vmlinux.lds.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-08-02 15:18:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-08-02 15:18:51 -0700
commit9100fc5ae83e64d99fd3300104893ef0e0b0aadb (patch)
tree5b50079abbfe7fecfd04cbaa3309d4318f3cf4d2 /arch/parisc/boot/compressed/vmlinux.lds.S
parent4dd68199f3ed7ee62f94869a1d7b29749e3696fb (diff)
parentf2c5ed0dd5004c2cff5c0e3d430a107576fcc17f (diff)
Merge branch 'parisc-5.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fixes from Helge Deller: "A few small fixes for the parisc architecture: - Fix fall-through warnings in parisc math emu code - Fix vmlinuz linking failure with debug-enabled kernels - Fix a race condition in kernel live-patching code - Add missing archclean Makefile target & defconfig adjustments" * 'parisc-5.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: Add archclean Makefile target parisc: Strip debug info from kernel before creating compressed vmlinuz parisc: Fix build of compressed kernel even with debug enabled parisc: fix race condition in patching code parisc: rename default_defconfig to defconfig parisc: Fix fall-through warnings in fpudispatch.c parisc: Mark expected switch fall-throughs in fault.c
Diffstat (limited to 'arch/parisc/boot/compressed/vmlinux.lds.S')
-rw-r--r--arch/parisc/boot/compressed/vmlinux.lds.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/boot/compressed/vmlinux.lds.S b/arch/parisc/boot/compressed/vmlinux.lds.S
index bfd7872739a3..2ac3a643f2eb 100644
--- a/arch/parisc/boot/compressed/vmlinux.lds.S
+++ b/arch/parisc/boot/compressed/vmlinux.lds.S
@@ -48,8 +48,8 @@ SECTIONS
*(.rodata.compressed)
}
- /* bootloader code and data starts behind area of extracted kernel */
- . = (SZ_end - SZparisc_kernel_start + KERNEL_BINARY_TEXT_START);
+ /* bootloader code and data starts at least behind area of extracted kernel */
+ . = MAX(ABSOLUTE(.), (SZ_end - SZparisc_kernel_start + KERNEL_BINARY_TEXT_START));
/* align on next page boundary */
. = ALIGN(4096);