aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorEtienne Buira <etienne.buira@gmail.com>2016-12-08 12:52:21 +0000
committerNick Clifton <nickc@redhat.com>2016-12-08 12:52:21 +0000
commit1d262527cf7ef3cdd2c015dc3540b47996e94d37 (patch)
tree33d59454ddd5e67d05822bdfb8bb9fcee0a9a591 /binutils
parent980d0cdd2fc40c30f3ddef644659d7d0dc00ed40 (diff)
downloadgdb-1d262527cf7ef3cdd2c015dc3540b47996e94d37.zip
gdb-1d262527cf7ef3cdd2c015dc3540b47996e94d37.tar.gz
gdb-1d262527cf7ef3cdd2c015dc3540b47996e94d37.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b3429f7..ae19b53 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
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);