* object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.

This commit is contained in:
Cary Coutant 2012-03-01 07:27:38 +00:00
parent f0fed3a3b6
commit a1fb425606
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-02-29 Cary Coutant <ccoutant@google.com>
* object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.
2012-02-29 Cary Coutant <ccoutant@google.com>
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):

View File

@ -550,6 +550,8 @@ Sized_relobj_file<size, big_endian>::find_eh_frame(
return false;
}
#ifdef ENABLE_THREADS
// Return TRUE if this is a section whose contents will be needed in the
// Add_symbols task.
@ -564,6 +566,8 @@ need_decompressed_section(const char* name)
return false;
}
#endif
// Build a table for any compressed debug sections, mapping each section index
// to the uncompressed size and (if needed) the decompressed contents.