Re: [PATCH v3] MIPS: zboot: head.S clean up

From: Thomas Bogendoerfer
Date: Mon Jan 04 2021 - 05:49:12 EST


On Wed, Dec 30, 2020 at 11:47:22AM +0800, Jiaxun Yang wrote:
> .cprestore is removed as we don't expect Position Independent
> zboot ELF.
>
> .noreorder is also removed and rest instructions are massaged
> to improve readability.
>
> t9 register is used for indirect jump as MIPS ABI requirement.
>
> start label is removed as it already defined in LEAF.
>
> Reported-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
>
> --
> v2: Remove start label (paul)
> ---
> arch/mips/boot/compressed/head.S | 18 +++++++-----------
> 1 file changed, 7 insertions(+), 11 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]