diff options
author | Mike Lockwood <lockwood@android.com> | 2009-07-03 18:16:21 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-07-03 18:16:21 -0400 |
commit | 19709f3b37c230a6b59302d68e26da010ae0d217 (patch) | |
tree | 20a0e409741ff46fcbc458a399286619ee711798 | |
parent | ea327ae7042fa12c2f81acb7268321d46c98e075 (diff) | |
download | elfcopy-donut-release.tar.gz |
libelfcopy: Suppress some DWARF warnings:android-sdk-tools_r2android-sdk-1.6_r2android-sdk-1.6_r1android-sdk-1.6-docs_r1android-1.6_r2android-1.6_r1.5android-1.6_r1.4android-1.6_r1.3android-1.6_r1.2android-1.6_r1.1android-1.6_r1donut-release2donut-releasedonut
libelfcopy: Warning: There is a hole [0x271ee8 - 0x272108] in .debug_ranges section.
libelfcopy: Warning: There is an overlap [0x272110 - 0x271f98] in .debug_ranges section.
Signed-off-by: Mike Lockwood <lockwood@android.com>
-rw-r--r-- | dwarf.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2506,14 +2506,16 @@ display_debug_loc (struct dwarf_section *section, void *file) seen_first_offset = 1; else { - if (start < next) - warn (_("There is a hole [0x%lx - 0x%lx] in .debug_loc section.\n"), + if (start < next) { +/* warn (_("There is a hole [0x%lx - 0x%lx] in .debug_loc section.\n"), (long)(start - section_begin), (long)(next - section_begin)); - else if (start > next) { +*/ + } else if (start > next) { last_overlap = start; - warn (_("There is an overlap of %ld bytes [0x%lx - 0x%lx] in .debug_loc section.\n"), +/* warn (_("There is an overlap of %ld bytes [0x%lx - 0x%lx] in .debug_loc section.\n"), (long)(start - next), (long)(start - section_begin), (long)(next - section_begin)); +*/ } } start = next; @@ -2864,7 +2866,7 @@ display_debug_ranges (struct dwarf_section *section, seen_first_offset = 1; else { - if (start < next) +/* if (start < next) warn (_("There is a hole [0x%lx - 0x%lx] in %s section.\n"), (long)(start - section_begin), (long)(next - section_begin), section->name); @@ -2872,6 +2874,7 @@ display_debug_ranges (struct dwarf_section *section, warn (_("There is an overlap [0x%lx - 0x%lx] in %s section.\n"), (long)(start - section_begin), (long)(next - section_begin), section->name); +*/ } start = next; |