From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0604881040793844587==" MIME-Version: 1.0 From: Ben Gamari To: elfutils-devel@lists.fedorahosted.org Subject: [PATCH] readelf: Show set_loc argument as hexadecimal Date: Wed, 25 Nov 2015 17:23:38 +0100 Message-ID: <1448468618-14285-1-git-send-email-ben@smart-cactus.org> In-Reply-To: 1448468478-13481-1-git-send-email-ben@smart-cactus.org --===============0604881040793844587== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- src/readelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/readelf.c b/src/readelf.c index 7c3237f..e2f8fa9 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -4973,7 +4973,7 @@ print_cfa_program (const unsigned char *readp, const = unsigned char *const endp, goto invalid; op1 =3D read_addr_unaligned_inc (ptr_size, dbg, readp); op1 +=3D vma_base; - printf (" set_loc %" PRIu64 "\n", op1 * code_align); + printf (" set_loc %" PRIx64 "\n", op1 * code_align); break; case DW_CFA_advance_loc1: if ((uint64_t) (endp - readp) < 1) -- = 2.6.2 --===============0604881040793844587==--