X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fltrace%2F0003-PPC-fix-PPC32-build.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fltrace%2F0003-PPC-fix-PPC32-build.patch;h=92055c94778b89f154e4e547926f4aba50e6224a;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/ltrace/0003-PPC-fix-PPC32-build.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/ltrace/0003-PPC-fix-PPC32-build.patch new file mode 100644 index 0000000..92055c9 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/ltrace/0003-PPC-fix-PPC32-build.patch @@ -0,0 +1,31 @@ +From c01c6dc017b5ae2b6de7b690725890642b6bf857 Mon Sep 17 00:00:00 2001 +From: Alexandre Belloni +Date: Tue, 29 Jul 2014 11:01:31 +0200 +Subject: [PATCH] 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 +--- + 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 7918a136b016..d5ad759a755c 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 +-- +1.9.1 +