Fix lttng-ust for powerpc64

(From OE-Core rev: a75683a815343a481b3612c35e1ab79071343187)

(From OE-Core rev: 6af6e862a3f000ada27c8d7f3440821187494421)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Matthew McClintock
2011-09-29 14:08:04 -05:00
committed by Richard Purdie
parent 7d06a71c02
commit 8620d997d4
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
Upstream-Status: Submitted
Add bit to detect if we are running on powerpc64 and treat it the
same as ppc64
Index: ust-0.15/configure.ac
===================================================================
--- ust-0.15.orig/configure.ac
+++ ust-0.15/configure.ac
@@ -111,6 +111,7 @@ changequote([,])dnl
x86_64) LIBFORMAT="elf64-x86-64" ;;
powerpc) LIBFORMAT="elf32-powerpc" ;;
ppc64) LIBFORMAT="elf64-powerpc" ;;
+ powerpc64) LIBFORMAT="elf64-powerpc" ;;
s390) LIBFORMAT="elf32-s390" ;;
s390x) LIBFORMAT="elf64-s390" ;;
armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;