patches/ltrace/0.5.1/110-alpha-support.patch
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
yann@1262
     1
diff -durN ltrace-0.5.1.orig/Makefile.in ltrace-0.5.1/Makefile.in
yann@1262
     2
--- ltrace-0.5.1.orig/Makefile.in	2009-03-16 17:24:08.000000000 +0100
yann@1262
     3
+++ ltrace-0.5.1/Makefile.in	2009-03-16 17:43:09.000000000 +0100
yann@1262
     4
@@ -5,6 +5,7 @@
yann@1262
     5
 OS		:= @HOST_OS@
yann@1262
     6
 ARCH		:= $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/      \
yann@1262
     7
 						   -e s/sun4u/sparc64/  \
yann@1262
     8
+						   -e s/alpha.*/alpha/  \
yann@1262
     9
 						   -e s/arm.*/arm/      \
yann@1262
    10
 						   -e s/sa110/arm/      \
yann@1262
    11
 						   -e s/ppc64/ppc/      \