AArch64: Fix printing of long long value

* util.c (printllval): Fix printing of long long values on
AArch64.

Signed-off-by: Andreas Schwab <schwab@suse.de>
This commit is contained in:
Andreas Schwab 2013-03-30 22:31:56 +01:00
parent b6593deac4
commit 341d09a8fe

2
util.c
View File

@ -185,7 +185,7 @@ printxval(const struct xlat *xlat, int val, const char *dflt)
int
printllval(struct tcb *tcp, const char *format, int arg_no)
{
#if defined(X86_64) || defined(POWERPC64) || defined(TILE)
#if defined(X86_64) || defined(POWERPC64) || defined(TILE) || defined(AARCH64)
if (current_personality == 0) {
/* Technically, format expects "long long",
* but we supply "long". We expect that