This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v2] readelf: use hex prefix for program header alignment
- From: Étienne Buira <etienne dot buira at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 8 Dec 2016 05:03:53 +0100
- Subject: [PATCH v2] readelf: use hex prefix for program header alignment
- Authentication-results: sourceware.org; auth=none
- References: <20161207212349.GM10558@vapier.lan>
- References: <20161207212349.GM10558@vapier.lan>
---
binutils/readelf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/binutils/readelf.c b/binutils/readelf.c
index c5a628f..69d8889 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -4900,7 +4900,7 @@ process_program_headers (FILE * file)
(segment->p_flags & PF_R ? 'R' : ' '),
(segment->p_flags & PF_W ? 'W' : ' '),
(segment->p_flags & PF_X ? 'E' : ' '));
- print_vma (segment->p_align, HEX);
+ print_vma (segment->p_align, PREFIX_HEX);
}
putc ('\n', stdout);