mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
* cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for
excluded output sections.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-10-10 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for
|
||||||
|
excluded output sections.
|
||||||
|
|
||||||
2009-10-09 Tristan Gingold <gingold@adacore.com>
|
2009-10-09 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
|
* mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
|
||||||
|
@ -1514,11 +1514,13 @@ _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
|
&& !dont_skip_symbol
|
||||||
&& 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)
|
&& ((*secpp)->output_section == bfd_abs_section_ptr
|
||||||
|
|| bfd_section_removed_from_list (output_bfd,
|
||||||
|
(*secpp)->output_section)))
|
||||||
skip = TRUE;
|
skip = TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user