[ltrace-commits] 01/01: PPC: fix PPC32 build

Petr Machata pmachata-guest at moszumanska.debian.org
Tue Jul 29 15:22:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit 01b8b3d9888f6a3f641aa70f30b92ec074d5007c
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Tue Jul 29 13:04:21 2014 +0200

    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 at free-electrons.com>
---
 sysdeps/linux-gnu/ppc/arch.h | 1 +
 1 file changed, 1 insertion(+)

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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list