diff options
author | Alexander Fedotov <alfedotov@gmail.com> | 2021-01-04 15:13:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-01-04 15:13:57 +0000 |
commit | dbb078f66ecfe2d50fd3e03463b5b206a8eed243 (patch) | |
tree | 4d12d3fdec674e3f2be2024ed0c4293300d5e624 /bfd/elf32-arm.c | |
parent | 5b4293ba3c207ebdaea3631819b9459f0a10e761 (diff) | |
download | gdb-dbb078f66ecfe2d50fd3e03463b5b206a8eed243.zip gdb-dbb078f66ecfe2d50fd3e03463b5b206a8eed243.tar.gz gdb-dbb078f66ecfe2d50fd3e03463b5b206a8eed243.tar.bz2 |
When displaying ARM private file flag bits, use a 0x prefix.
* elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
of private flags with 0x.
* elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 818d06e..d23f6c0 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -15062,7 +15062,7 @@ elf32_arm_print_private_bfd_data (bfd *abfd, void * ptr) /* Ignore init flag - it may not be set, despite the flags field containing valid data. */ - fprintf (file, _("private flags = %lx:"), elf_elfheader (abfd)->e_flags); + fprintf (file, _("private flags = 0x%lx:"), elf_elfheader (abfd)->e_flags); switch (EF_ARM_EABI_VERSION (flags)) { @@ -15183,7 +15183,7 @@ elf32_arm_print_private_bfd_data (bfd *abfd, void * ptr) flags &= ~ (EF_ARM_RELEXEC | EF_ARM_PIC); if (flags) - fprintf (file, _("<Unrecognised flag bits set>")); + fprintf (file, _(" <Unrecognised flag bits set>")); fputc ('\n', file); |