mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
Implement -s and -S options which strip symbols.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user