mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2002-08-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* 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>
|
||||||
|
|
||||||
* elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
|
* elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
|
||||||
|
@ -4211,7 +4211,8 @@ aout_link_write_symbols (finfo, input_bfd)
|
|||||||
|
|
||||||
/* Use the name from the hash table, in case the symbol was
|
/* Use the name from the hash table, in case the symbol was
|
||||||
wrapped. */
|
wrapped. */
|
||||||
if (h != NULL)
|
if (h != NULL
|
||||||
|
&& h->root.type != bfd_link_hash_warning)
|
||||||
name = h->root.root.string;
|
name = h->root.root.string;
|
||||||
|
|
||||||
/* If this is an indirect or warning symbol, then change
|
/* If this is an indirect or warning symbol, then change
|
||||||
@ -4233,7 +4234,6 @@ aout_link_write_symbols (finfo, input_bfd)
|
|||||||
|
|
||||||
/* If the symbol has already been written out, skip it. */
|
/* If the symbol has already been written out, skip it. */
|
||||||
if (h != (struct aout_link_hash_entry *) NULL
|
if (h != (struct aout_link_hash_entry *) NULL
|
||||||
&& h->root.type != bfd_link_hash_warning
|
|
||||||
&& h->written)
|
&& h->written)
|
||||||
{
|
{
|
||||||
if ((type & N_TYPE) == N_INDR
|
if ((type & N_TYPE) == N_INDR
|
||||||
|
Reference in New Issue
Block a user