Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arch/powerpc: Remove support for older GCC and binutils

Commit 118c40b7b503 ("kbuild: require gcc-8 and binutils-2.30") raised
minimum GCC_VERSION and LD_VERSION.

Simplify powerpc build accordingly.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/b6b94cba7492c8581e8d5d25b15962e5ad7a37c2.1751366979.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Madhavan Srinivasan
a41de5cc 0c1da35b

+2 -6
+1 -1
arch/powerpc/Kconfig
··· 248 248 select HAVE_FUNCTION_ERROR_INJECTION 249 249 select HAVE_FUNCTION_GRAPH_TRACER 250 250 select HAVE_FUNCTION_TRACER if !COMPILE_TEST && (PPC64 || (PPC32 && CC_IS_GCC)) 251 - select HAVE_GCC_PLUGINS if GCC_VERSION >= 50200 # plugin support on gcc <= 5.1 is buggy on PPC 251 + select HAVE_GCC_PLUGINS 252 252 select HAVE_GENERIC_VDSO 253 253 select HAVE_HARDLOCKUP_DETECTOR_ARCH if PPC_BOOK3S_64 && SMP 254 254 select HAVE_HARDLOCKUP_DETECTOR_PERF if PERF_EVENTS && HAVE_PERF_EVENTS_NMI
+1 -5
arch/powerpc/boot/wrapper
··· 226 226 227 227 # Do not include PT_INTERP segment when linking pie. Non-pie linking 228 228 # just ignores this option. 229 - LD_VERSION=$(${CROSS}ld --version | ld_version) 230 - LD_NO_DL_MIN_VERSION=$(echo 2.26 | ld_version) 231 - if [ "$LD_VERSION" -ge "$LD_NO_DL_MIN_VERSION" ] ; then 232 - nodl="--no-dynamic-linker" 233 - fi 229 + nodl="--no-dynamic-linker" 234 230 235 231 # suppress some warnings in recent ld versions 236 232 nowarn="-z noexecstack"