diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-04 23:10:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-04 23:10:38 +0000 |
commit | ee1fe73e110f7009719b6befefd9fabe94672931 (patch) | |
tree | 10b08a9e267cbba7127112fef725dac0dd8f96df /gold/layout.cc | |
parent | 3954eb47e14c40e07db4ada5069debdc6fd1ae93 (diff) | |
download | gdb-ee1fe73e110f7009719b6befefd9fabe94672931.zip gdb-ee1fe73e110f7009719b6befefd9fabe94672931.tar.gz gdb-ee1fe73e110f7009719b6befefd9fabe94672931.tar.bz2 |
From Craig Silverstein: rework option handling to make it easier to
add a new option.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r-- | gold/layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index fd7f3af..1591cfb 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -612,7 +612,7 @@ Layout::make_output_section(const char* name, elfcpp::Elf_Word type, { Output_section* os; if ((flags & elfcpp::SHF_ALLOC) == 0 - && this->options_.compress_debug_sections() + && strcmp(this->options_.compress_debug_sections(), "none") != 0 && is_compressible_debug_section(name)) os = new Output_compressed_section(&this->options_, name, type, flags); else |