diff options
author | Mike Lockwood <lockwood@android.com> | 2009-07-06 11:54:22 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-07-06 11:54:22 -0700 |
commit | c6fd606938cfe63e1146cbcabad6da0d40a78432 (patch) | |
tree | 20a0e409741ff46fcbc458a399286619ee711798 | |
parent | e9697cd74c449d9d7073e6195cb99bd35e5c58a1 (diff) | |
parent | 19709f3b37c230a6b59302d68e26da010ae0d217 (diff) | |
download | elfcopy-c6fd606938cfe63e1146cbcabad6da0d40a78432.tar.gz |
am 19709f3b: libelfcopy: Suppress some DWARF warnings:
Merge commit '19709f3b37c230a6b59302d68e26da010ae0d217'
* commit '19709f3b37c230a6b59302d68e26da010ae0d217':
libelfcopy: Suppress some DWARF warnings:
-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; |