mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
Do not skip section symbols that are used in relocs.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-03 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* cofflink.c (_bfd_coff_link_input_bfd): Do not skip section
|
||||||
|
symbols that are used in relocs.
|
||||||
|
|
||||||
2003-08-30 Robert Millan <robertmh@gnu.org>
|
2003-08-30 Robert Millan <robertmh@gnu.org>
|
||||||
|
|
||||||
* configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.
|
* configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.
|
||||||
|
@ -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
|
/* Skip section symbols for sections which are not going to be
|
||||||
emitted. */
|
emitted. */
|
||||||
if (!skip
|
if (!skip
|
||||||
|
&& dont_skip_symbol == 0
|
||||||
&& isym.n_sclass == C_STAT
|
&& isym.n_sclass == C_STAT
|
||||||
&& isym.n_type == T_NULL
|
&& isym.n_type == T_NULL
|
||||||
&& isym.n_numaux > 0)
|
&& isym.n_numaux > 0
|
||||||
{
|
&& (*secpp)->output_section == bfd_abs_section_ptr)
|
||||||
if ((*secpp)->output_section == bfd_abs_section_ptr)
|
skip = TRUE;
|
||||||
skip = TRUE;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If we stripping debugging symbols, and this is a debugging
|
/* If we stripping debugging symbols, and this is a debugging
|
||||||
|
Reference in New Issue
Block a user