aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 0e72d13..a673564 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -2624,6 +2624,10 @@ display_debug_loc (struct dwarf_section *section, void *file)
}
}
}
+
+ if (start < section_end)
+ warn (_("There are %ld unused bytes at the end of section %s\n"),
+ section_end - start, section->name);
return 1;
}