]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Report "address range with no base address" for all impacted ranges
authorPetr Machata <pmachata@redhat.com>
Tue, 24 Mar 2009 16:51:48 +0000 (17:51 +0100)
committerPetr Machata <pmachata@redhat.com>
Tue, 24 Mar 2009 16:50:05 +0000 (17:50 +0100)
src/dwarflint.c

index 5dd78650a0edc903f7d543218ab7d7e8c0cc27d0..d19c759f736c94b8164bd8cb3df7d1e7701c60a0 100644 (file)
@@ -4342,8 +4342,9 @@ check_loc_or_range_ref (const struct read_ctx *parent_ctx,
        {
          if (base == (uint64_t)-1)
            {
-             wr_error (&where, ": address range with no base address set.\n");
-             base = (uint64_t)-2; /* Only report once.  */
+             wr_error (&where,
+                       ": address range with no base address set (%#"
+                       PRIx64 "..%#" PRIx64 ").\n", begin_addr, end_addr);
              /* This is not something that would derail high-level,
                 so carry on.  */
            }