diff options
author | Breno Leitao <leitao@debian.org> | 2017-11-28 17:29:34 -0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-02 23:54:28 +1000 |
commit | 8449a4cb69ab6fbb873d653a82787a2ae6f352aa (patch) | |
tree | 62046eda3e1f27e704cb3c8d1ceb692e6b0e846f /mm/gup_benchmark.c | |
parent | 8272f598523d0975259080d2f9d760b9ce625e18 (diff) | |
download | talos-op-linux-8449a4cb69ab6fbb873d653a82787a2ae6f352aa.tar.gz talos-op-linux-8449a4cb69ab6fbb873d653a82787a2ae6f352aa.zip |
scripts: Add ppc64le support for checkstack.pl
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@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'mm/gup_benchmark.c')
0 files changed, 0 insertions, 0 deletions