linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kbuild: dummy-tools: -mprofile-kernel is not limited to little endian
@ 2023-08-29 10:40 Michal Suchanek
  0 siblings, 0 replies; only message in thread
From: Michal Suchanek @ 2023-08-29 10:40 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Michal Suchanek, Masahiro Yamada, Nathan Chancellor,
	Nick Desaulniers, Nicolas Schier, Michael Ellerman,
	Naveen N. Rao, Nicholas Piggin, linux-kbuild, linux-kernel

Fixes: aec0ba7472a7 ("powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 scripts/dummy-tools/gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc
index 1db1889f6d81..ebb34d016e5f 100755
--- a/scripts/dummy-tools/gcc
+++ b/scripts/dummy-tools/gcc
@@ -85,7 +85,7 @@ if arg_contain -S "$@"; then
 	fi
 
 	# For arch/powerpc/tools/gcc-check-mprofile-kernel.sh
-	if arg_contain -m64 "$@" && arg_contain -mlittle-endian "$@" &&
+	if arg_contain -m64 "$@" &&
 		arg_contain -mprofile-kernel "$@"; then
 		if ! test -t 0 && ! grep -q notrace; then
 			echo "_mcount"
-- 
2.41.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-29 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 10:40 [PATCH] kbuild: dummy-tools: -mprofile-kernel is not limited to little endian Michal Suchanek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).