[PATCH] tile: handle printllval like x86_64 or powerpc64
Chris Metcalf
cmetcalf at tilera.com
Thu Feb 28 19:44:44 UTC 2013
Signed-off-by: Chris Metcalf <cmetcalf at tilera.com>
---
Without this fix the tilegx build fails when it hits the new #error
about SIZEOF_LONG > 4.
util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.c b/util.c
index e14d242..39d7f38 100644
--- a/util.c
+++ b/util.c
@@ -185,7 +185,7 @@ printxval(const struct xlat *xlat, int val, const char *dflt)
int
printllval(struct tcb *tcp, const char *format, int llarg)
{
-#if defined(X86_64) || defined(POWERPC64)
+#if defined(X86_64) || defined(POWERPC64) || defined(TILE)
if (current_personality == 0) {
/* Technically, format expects "long long",
* but we supply "long". We expect that
--
1.7.10.3
More information about the Strace-devel
mailing list