* dwarf.c (display_debug_loc): Cast section_end - start to long
for output format.
This commit is contained in:
parent
fc91707cc2
commit
0eb090cbfc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-11-21 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
* dwarf.c (display_debug_loc): Cast section_end - start to long
|
||||||
|
for output format.
|
||||||
|
|
||||||
2007-11-20 Nick Clifton <nickc@redhat.com>
|
2007-11-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* dwarf.c (display_debug_loc): Issue a warning if there are bytes
|
* dwarf.c (display_debug_loc): Issue a warning if there are bytes
|
||||||
|
|
|
@ -2627,7 +2627,7 @@ display_debug_loc (struct dwarf_section *section, void *file)
|
||||||
|
|
||||||
if (start < section_end)
|
if (start < section_end)
|
||||||
warn (_("There are %ld unused bytes at the end of section %s\n"),
|
warn (_("There are %ld unused bytes at the end of section %s\n"),
|
||||||
section_end - start, section->name);
|
(long) (section_end - start), section->name);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue