lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNATzy4Xb1s7srS=n7bEbqHXajKR44eCh6MR5Lfwz9oTfMQ@mail.gmail.com>
Date:   Wed, 30 Aug 2023 20:48:08 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Jiri Slaby <jirislaby@...nel.org>
Cc:     linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Nicolas Schier <nicolas@...sle.eu>,
        "Naveen N . Rao" <naveen.n.rao@...ux.vnet.ibm.com>,
        Christophe Leroy <christophe.leroy@...roup.eu>,
        Nicholas Piggin <npiggin@...il.com>,
        Michael Ellerman <mpe@...erman.id.au>,
        Michal Kubecek <mkubecek@...e.cz>
Subject: Re: [PATCH] kbuild: dummy-tools: support make MPROFILE_KERNEL checks
 work on BE

On Wed, Aug 30, 2023 at 2:00 AM Jiri Slaby <jirislaby@...nel.org> wrote:
>
> 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.


I have no objection.

If there is nothing else to fix,
I will locally fix the subject, and apply.


I also see a similar patch from Michal Suchanek,
but I like this one because the commit log
has a good explanation.



> On 29. 08. 23, 12:51, Jiri Slaby (SUSE) wrote:
> > From: Jiri Slaby <jslaby@...e.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@...e.cz>
> > Cc: Masahiro Yamada <masahiroy@...nel.org>
> > Cc: Nathan Chancellor <nathan@...nel.org>
> > Cc: Nick Desaulniers <ndesaulniers@...gle.com>
> > Cc: Nicolas Schier <nicolas@...sle.eu>
> > Cc: Naveen N. Rao <naveen.n.rao@...ux.vnet.ibm.com>
> > Cc: Christophe Leroy <christophe.leroy@...roup.eu>
> > Cc: Nicholas Piggin <npiggin@...il.com>
> > Cc: Michael Ellerman <mpe@...erman.id.au>
> > Cc: Michal Kubecek <mkubecek@...e.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
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ