Always use a hex prefix when displaying the alignment of program headers.
authorEtienne Buira <etienne.buira@gmail.com>
Thu, 8 Dec 2016 12:52:21 +0000 (12:52 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 8 Dec 2016 12:52:21 +0000 (12:52 +0000)
* readelf.c (process_program_headers): Always use hex prefix when
displaying the segment alignment.

binutils/ChangeLog
binutils/readelf.c

index b3429f7989cc410acc576b7d6ac83dcc37d3b579..ae19b5329462831e232a948f3e612cedab431d3c 100644 (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
index c5a628fc9365586c2ac85db0dd844070d56b3f7b..69d88892d707bff0bc7bb54dfa74d29c136b8a64 100644 (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);