]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arch/powerpc: Remove .interp section in vmlinux
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 1 Jul 2025 10:49:29 +0000 (12:49 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Tue, 22 Jul 2025 08:51:19 +0000 (14:21 +0530)
commitda30705c4621fc82d68483f114f5a395a5f472d2
tree18da7c5c3155868f7c538c24252d8ff9b109ed0e
parent69bf2053608423cbe348f4c5d4f8d737e607d1ad
arch/powerpc: Remove .interp section in vmlinux

When building with CONFIG_RELOCATABLE, there is a .interp section
which contains the name of the expected ELF interpreter:

Contents of section .interp:
 c0000000021c1bac 2f757372 2f6c6962 2f6c642e 736f2e31  /usr/lib/ld.so.1
 c0000000021c1bbc 00                                   .

That information is useless and even likely wrong. Remove it.

Link: https://github.com/linuxppc/issues/issues/434
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/eeaf8fd6628a75d19872ab31cf7e7179e2baef5e.1751366959.git.christophe.leroy@csgroup.eu
arch/powerpc/Makefile