diff options
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/object.cc b/gold/object.cc index cfdb17c..b8843e9 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -715,6 +715,9 @@ void Sized_relobj<size, big_endian>::write_local_symbols(Output_file* of, const Stringpool* sympool) { + if (parameters->strip_all()) + return; + gold_assert(this->symtab_shndx_ != -1U); if (this->symtab_shndx_ == 0) { |