mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* elflink.h (elf_link_output_extsym): Don't output symbols from
SEC_EXCLUDE sections.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2002-08-08 Alan Modra <amodra@bigpond.net.au>
|
2002-08-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elflink.h (elf_link_output_extsym): Don't output symbols from
|
||||||
|
SEC_EXCLUDE sections.
|
||||||
|
|
||||||
* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
|
* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
|
||||||
|
|
||||||
2002-08-07 Alan Modra <amodra@bigpond.net.au>
|
2002-08-07 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
@ -6342,7 +6342,7 @@ elf_link_output_extsym (h, data)
|
|||||||
|
|
||||||
/* If we're stripping it, then it was just a dynamic symbol, and
|
/* If we're stripping it, then it was just a dynamic symbol, and
|
||||||
there's nothing else to do. */
|
there's nothing else to do. */
|
||||||
if (strip)
|
if (strip || (input_sec->flags & SEC_EXCLUDE) != 0)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
h->indx = bfd_get_symcount (finfo->output_bfd);
|
h->indx = bfd_get_symcount (finfo->output_bfd);
|
||||||
|
Reference in New Issue
Block a user