aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-02-19 18:48:15 +1030
committerAlan Modra <amodra@gmail.com>2018-02-19 23:55:55 +1030
commit8979927ae719d1a16d2acd01a11cc17ed3c78dfb (patch)
tree71e7b7872ba8319f852d733b41ac73d31ec03ddd /bfd/dwarf2.c
parent2dcf00ce6c001c42c89e6f6baace708b706994f2 (diff)
downloadgdb-8979927ae719d1a16d2acd01a11cc17ed3c78dfb.zip
gdb-8979927ae719d1a16d2acd01a11cc17ed3c78dfb.tar.gz
gdb-8979927ae719d1a16d2acd01a11cc17ed3c78dfb.tar.bz2
Don't use %ll
* dwarf2.c (read_section): Don't use 'll' format modifier. (find_abstract_instance): Likewise. * elfcore.h (elf_core_file_p): Likewise.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index f956188..b0173e9 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -569,9 +569,9 @@ read_section (bfd * abfd,
if (offset != 0 && offset >= *section_size)
{
/* xgettext: c-format */
- _bfd_error_handler (_("Dwarf Error: Offset (%llu)"
+ _bfd_error_handler (_("Dwarf Error: Offset (%" PRIu64 ")"
" greater than or equal to %s size (%" PRIu64 ")."),
- (long long) offset, section_name,
+ (uint64_t) offset, section_name,
(uint64_t) *section_size);
bfd_set_error (bfd_error_bad_value);
return FALSE;
@@ -2871,8 +2871,8 @@ find_abstract_instance (struct comp_unit * unit,
if (info_ptr == NULL)
{
_bfd_error_handler
- (_("Dwarf Error: Unable to read alt ref %llu."),
- (long long) die_ref);
+ (_("Dwarf Error: Unable to read alt ref %" PRIu64 "."),
+ (uint64_t) die_ref);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}