From: Etienne Buira Date: Thu, 8 Dec 2016 12:52:21 +0000 (+0000) Subject: Always use a hex prefix when displaying the alignment of program headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d262527cf7ef3cdd2c015dc3540b47996e94d37;p=binutils-gdb.git 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. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b3429f7989c..ae19b532946 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2016-12-08 Étienne Buira + + * readelf.c (process_program_headers): Always use hex prefix when + displaying the segment alignment. + 2016-12-06 Nick Clifton PR binutils/20930 diff --git a/binutils/readelf.c b/binutils/readelf.c index c5a628fc936..69d88892d70 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);