PPC: fix PPC32 build
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 29 Jul 2014 11:04:21 +0000 (13:04 +0200)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:27 +0000 (20:38 +0900)
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>
sysdeps/linux-gnu/ppc/arch.h

index 7918a13..d5ad759 100644 (file)
@@ -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