Do not skip section symbols that are used in relocs.

This commit is contained in:
Nick Clifton
2003-09-03 16:06:12 +00:00
parent 57b29be766
commit 3922a8c154
2 changed files with 9 additions and 5 deletions

View File

@@ -1481,13 +1481,12 @@ _bfd_coff_link_input_bfd (struct coff_final_link_info *finfo, bfd *input_bfd)
/* Skip section symbols for sections which are not going to be
emitted. */
if (!skip
&& dont_skip_symbol == 0
&& isym.n_sclass == C_STAT
&& isym.n_type == T_NULL
&& isym.n_numaux > 0)
{
if ((*secpp)->output_section == bfd_abs_section_ptr)
skip = TRUE;
}
&& isym.n_numaux > 0
&& (*secpp)->output_section == bfd_abs_section_ptr)
skip = TRUE;
#endif
/* If we stripping debugging symbols, and this is a debugging