[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <41Qfsw3GCDzB4MP@ozlabs.org>
Date: Wed, 11 Jul 2018 23:24:04 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Breno Leitao <leitao@...ian.org>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Cc: Breno Leitao <leitao@...ian.org>
Subject: Re: scripts: Add ppc64le support for checkstack.pl
On Tue, 2017-11-28 at 19:29:34 UTC, Breno Leitao wrote:
> 64-bit ELF v2 ABI specification for POWER describes, on section "General
> Stack Frame Requirements", that the stack should use the following
> instructions when compiled with backchain:
>
> mflr r0
> std r0, 16(r1)
> stdu r1, -XX(r1)
>
> Where XX is the frame size for that function, and this is the value
> checkstack.pl will find the stack size for each function.
>
> This patch also simplifies the entire Powerpc section, since just two
> type of instructions are used, 'stdu' for 64 bits and 'stwu' for 32 bits
> platform.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/8449a4cb69ab6fbb873d653a82787a
cheers
Powered by blists - more mailing lists