]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Unaligned rangeptr pointers deserve message with impact 2, not 4
authorPetr Machata <pmachata@redhat.com>
Thu, 5 Feb 2009 15:29:52 +0000 (16:29 +0100)
committerPetr Machata <pmachata@redhat.com>
Thu, 5 Feb 2009 15:29:52 +0000 (16:29 +0100)
src/dwarflint.c

index 4e1c607d303b252302b73d04ca98487816162b73..4727338b92bda1fa2f2a87eba4fc9820d80d21f5 100644 (file)
@@ -2482,7 +2482,7 @@ read_die_chain (struct read_ctx *ctx,
                else if (check_locptr || check_rangeptr)
                  {
                    if (check_rangeptr && (value % cu->address_size != 0))
-                     wr_message (mc_ranges | mc_impact_4, &where,
+                     wr_message (mc_ranges | mc_impact_2, &where,
                                  ": rangeptr value %#" PRIx32
                                  " not aligned to CU address size.\n",
                                  value);