aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/object.cc b/gold/object.cc
index f30354e..2b4fe02 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -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.