[--strip-symbol symbol] [-N symbol] [--verbose]\n\
[--version] [--help]\n\
in-file [out-file]\n");
+ list_supported_targets (program_name, stream);
exit (exit_status);
}
[--strip-symbol symbol] [-N symbol]\n\
[--remove-section=section] [--verbose] [--version] [--help] file...\n",
program_name);
+ list_supported_targets (program_name, stream);
exit (exit_status);
}
{
struct section_list *p;
+ if ((bfd_get_section_flags (abfd, sec) & SEC_DEBUGGING) != 0
+ && (strip_symbols == strip_debug
+ || strip_symbols == strip_all
+ || discard_locals == locals_all))
+ return true;
+
if (! sections_removed)
return false;
p = find_section_list (bfd_get_section_name (abfd, sec), false);