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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 21 Dec 2020 22:18:58 +0800
From:   "Jiaxun Yang" <jiaxun.yang@...goat.com>
To:     "Paul Cercueil" <paul@...pouillou.net>
Cc:     "linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
        "Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: zboot: head.S clean up



On Mon, Dec 21, 2020, at 10:09 PM, Paul Cercueil wrote:
> Hi Jiaxun,
> 
> Le lun. 21 déc. 2020 à 21:00, Jiaxun Yang <jiaxun.yang@...goat.com> a 
> écrit :
> > .cprestore is removed as we don't except Position Independent
> > zboot ELF.
> > 
> > .noreorder is also removed and rest instructions is massaged
> > to improve readability.
> > 
> > t9 register is used to indirect jump as MIPS ABI requirement.
> > 
> > Reported-by: Paul Cercueil <paul@...pouillou.net>
> > Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> > ---
> >  arch/mips/boot/compressed/head.S | 17 +++++++----------
> >  1 file changed, 7 insertions(+), 10 deletions(-)
> > 
> > diff --git a/arch/mips/boot/compressed/head.S 
> > b/arch/mips/boot/compressed/head.S
> > index 409cb483a9ff..977218c90bc8 100644
> > --- a/arch/mips/boot/compressed/head.S
> > +++ b/arch/mips/boot/compressed/head.S
> > @@ -15,8 +15,6 @@
> >  #include <asm/asm.h>
> >  #include <asm/regdef.h>
> > 
> > -	.set noreorder
> > -	.cprestore
> >  	LEAF(start)
> >  start:
> 
> You can also remove the 'start' label, since it's declared inside the 
> LEAF() macro as well. GNU's assembler won't mind, but LLVM will choke 
> on that.

Thanks, will do in v2!

I was trying to catch you on IRC but failed every time when it comes to my mind :-(

> 
> Cheers,
> -Paul
> 

- Jiaxun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ