Always use a hex prefix when displaying the alignment of program headers.

* readelf.c (process_program_headers): Always use hex prefix when
	displaying the segment alignment.
This commit is contained in:
Etienne Buira 2016-12-08 12:52:21 +00:00 committed by Nick Clifton
parent 980d0cdd2f
commit 1d262527cf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-12-08 Étienne Buira <etienne.buira@gmail.com>
* readelf.c (process_program_headers): Always use hex prefix when
displaying the segment alignment.
2016-12-06 Nick Clifton <nickc@redhat.com>
PR binutils/20930

View File

@ -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);