From: Cary Coutant Date: Thu, 1 Mar 2012 07:27:38 +0000 (+0000) Subject: * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1fb425606ae491c34cf7bde513452e62814b00e;p=binutils-gdb.git * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 08a69c0d53a..df015ac3e89 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2012-02-29 Cary Coutant + + * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS. + 2012-02-29 Cary Coutant * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info): diff --git a/gold/object.cc b/gold/object.cc index f30354e8730..2b4fe022791 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -550,6 +550,8 @@ Sized_relobj_file::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.