diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-07-29 13:04:21 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:27 +0900 |
commit | eb09591517adc04f4f5097f84ec500cce3025dd8 (patch) | |
tree | 19bed8a92c79280c39d78e4eee4f8cea8295b504 /sysdeps | |
parent | 0b516067cef2b766e4a5a342a589bbc6f1ad7741 (diff) | |
download | ltrace-eb09591517adc04f4f5097f84ec500cce3025dd8.tar.gz ltrace-eb09591517adc04f4f5097f84ec500cce3025dd8.tar.bz2 ltrace-eb09591517adc04f4f5097f84ec500cce3025dd8.zip |
PPC: fix PPC32 build
Compilation on PPC32 fails because STACK_FRAME_OVERHEAD is never defined
in arch.h.
Define it to 112 on that platform to restore the same behaviour as
before commit eea4ad2cce289753aaa35b4e0258a76d8f8f367c.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/linux-gnu/ppc/arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/linux-gnu/ppc/arch.h b/sysdeps/linux-gnu/ppc/arch.h index 7918a13..d5ad759 100644 --- a/sysdeps/linux-gnu/ppc/arch.h +++ b/sysdeps/linux-gnu/ppc/arch.h @@ -57,6 +57,7 @@ #else #define BREAKPOINT_VALUE { 0x7f, 0xe0, 0x00, 0x08 } #define ARCH_ENDIAN_BIG +# define STACK_FRAME_OVERHEAD 112 # ifndef EF_PPC64_ABI # define EF_PPC64_ABI 3 # endif |