From: Jiri Slaby <jirislaby@kernel.org>
To: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, masahiroy@kernel.org
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Nicolas Schier <nicolas@fjasle.eu>,
"Naveen N . Rao" <naveen.n.rao@linux.vnet.ibm.com>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Nicholas Piggin <npiggin@gmail.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Michal Kubecek <mkubecek@suse.cz>
Subject: Re: [PATCH] kbuild: dummy-tools: support make MPROFILE_KERNEL checks work on BE
Date: Tue, 29 Aug 2023 13:00:43 +0200 [thread overview]
Message-ID: <0d86668f-4f48-cd21-b891-443e99c5c86a@kernel.org> (raw)
In-Reply-To: <20230829105106.1277-1-jirislaby@kernel.org>
I deleted too few: the subject should read:
kbuild: dummy-tools: make MPROFILE_KERNEL checks work on BE
I will submit v2 if there are no other objections.
On 29. 08. 23, 12:51, Jiri Slaby (SUSE) wrote:
> From: Jiri Slaby <jslaby@suse.cz>
>
> Commit 2eab791f940b ("kbuild: dummy-tools: support MPROFILE_KERNEL
> checks for ppc") added support for ppc64le's checks for
> -mprofile-kernel.
>
> Now, commit aec0ba7472a7 ("powerpc/64: Use -mprofile-kernel for big
> endian ELFv2 kernels") added support for -mprofile-kernel even on
> big-endian ppc.
>
> So lift the check in gcc-check-mprofile-kernel.sh to support big-endian too.
>
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Masahiro Yamada <masahiroy@kernel.org>
> Cc: Nathan Chancellor <nathan@kernel.org>
> Cc: Nick Desaulniers <ndesaulniers@google.com>
> Cc: Nicolas Schier <nicolas@fjasle.eu>
> Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
> Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
> Cc: Nicholas Piggin <npiggin@gmail.com>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Michal Kubecek <mkubecek@suse.cz>
> ---
> scripts/dummy-tools/gcc | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc
> index 1db1889f6d81..07f6dc4c5cf6 100755
> --- a/scripts/dummy-tools/gcc
> +++ b/scripts/dummy-tools/gcc
> @@ -85,8 +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 "$@" &&
> - arg_contain -mprofile-kernel "$@"; then
> + if arg_contain -m64 "$@" && arg_contain -mprofile-kernel "$@"; then
> if ! test -t 0 && ! grep -q notrace; then
> echo "_mcount"
> fi
--
js
suse labs
next prev parent reply other threads:[~2023-08-29 11:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 10:51 Jiri Slaby (SUSE)
2023-08-29 11:00 ` Jiri Slaby [this message]
2023-08-30 11:48 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d86668f-4f48-cd21-b891-443e99c5c86a@kernel.org \
--to=jirislaby@kernel.org \
--cc=christophe.leroy@csgroup.eu \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=mkubecek@suse.cz \
--cc=mpe@ellerman.id.au \
--cc=nathan@kernel.org \
--cc=naveen.n.rao@linux.vnet.ibm.com \
--cc=ndesaulniers@google.com \
--cc=nicolas@fjasle.eu \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®