umber-kernel/arch
Alexey Gladkov 8d18ef04f9
s390: vmlinux.lds.S: Reorder sections
In the upcoming changes, the ELF_DETAILS macro will be extended with
the ".modinfo" section, which will cause an error:

>> s390x-linux-ld: .tmp_vmlinux1: warning: allocated section `.modinfo' not in segment
>> s390x-linux-ld: .tmp_vmlinux2: warning: allocated section `.modinfo' not in segment
>> s390x-linux-ld: vmlinux.unstripped: warning: allocated section `.modinfo' not in segment

This happens because the .vmlinux.info use :NONE to override the default
segment and tell the linker to not put the section in any segment at all.

To avoid this, we need to change the sections order that will be placed
in the default segment.

Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: linux-s390@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506062053.zbkFBEnJ-lkp@intel.com/
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://patch.msgid.link/20d40a7a3a053ba06a54155e777dcde7fdada1db.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
2025-09-24 09:10:44 -07:00
..
alpha Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
arc ARC: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:46 -07:00
arm ARM: Clean up definition of ARM_HAS_GROUP_RELOCS 2025-08-28 16:58:43 -07:00
arm64 arm64: Remove tautological LLVM Kconfig conditions 2025-08-28 16:58:44 -07:00
csky ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
hexagon hexagon: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:47 -07:00
loongarch LoongArch changes for v6.17 2025-08-08 06:36:48 +03:00
m68k treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
microblaze ftrace changes for v6.17: 2025-07-30 16:04:10 -07:00
mips mips: Unconditionally select ARCH_HAS_CURRENT_STACK_POINTER 2025-08-28 16:58:44 -07:00
nios2 nios2: ptrace: Use USER_REGSET_NOTE_TYPE() to specify regset note names 2025-07-14 22:27:47 -07:00
openrisc OpenRISC updates for 6.17 2025-08-04 08:37:46 -07:00
parisc parisc architecture fixes for kernel v6.17-rc1: 2025-08-01 16:15:53 -07:00
powerpc powerpc: Drop unnecessary initializations in __copy_inst_from_kernel_nofault() 2025-08-28 16:58:44 -07:00
riscv riscv: Remove ld.lld version checks from many TOOLCHAIN_HAS configs 2025-08-28 16:58:45 -07:00
s390 s390: vmlinux.lds.S: Reorder sections 2025-09-24 09:10:44 -07:00
sh Significant patch series in this pull request: 2025-08-03 16:23:09 -07:00
sparc Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
um Mostly cleanups, except: 2025-07-29 20:31:45 -07:00
x86 - Fix an interrupt vector setup race which leads to a non-functioning device 2025-08-10 08:15:32 +03:00
xtensa Xtensa updates for v6.17 2025-08-09 07:35:03 +03:00
.gitignore
Kconfig arch/Kconfig: Drop always true condition from RANDOMIZE_KSTACK_OFFSET 2025-08-28 16:58:43 -07:00