[PATCH mips-next 0/4] MIPS: vmlinux.lds.S sections fix & cleanup

From: Alexander Lobakin
Date: Mon Jan 04 2021 - 07:18:59 EST


This series hunts the problems discovered after manual enabling of
ARCH_WANT_LD_ORPHAN_WARN, notably the missing PAGE_ALIGNED_DATA()
section affecting VDSO placement (marked for stable).

Compile and runtime tested on MIPS32R2 CPS board with no issues.

Alexander Lobakin (4):
MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
MIPS: vmlinux.lds.S: add ".rel.dyn" to DISCARDS
MIPS: vmlinux.lds.S: add ".gnu.attributes" to DISCARDS
MIPS: select ARCH_WANT_LD_ORPHAN_WARN

arch/mips/Kconfig | 1 +
arch/mips/kernel/vmlinux.lds.S | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)

--
2.30.0