mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
fix output location of common symbols
This commit is contained in:
@ -3499,7 +3499,10 @@ xcoff_link_input_bfd (finfo, input_bfd)
|
|||||||
if (! skip
|
if (! skip
|
||||||
&& isym.n_sclass == C_EXT
|
&& isym.n_sclass == C_EXT
|
||||||
&& smtyp == XTY_CM
|
&& smtyp == XTY_CM
|
||||||
&& (*sym_hash)->root.type != bfd_link_hash_common)
|
&& ((*sym_hash)->root.type != bfd_link_hash_common
|
||||||
|
|| (*sym_hash)->root.u.c.p->section != *csectpp)
|
||||||
|
&& ((*sym_hash)->root.type != bfd_link_hash_defined
|
||||||
|
|| (*sym_hash)->root.u.def.section != *csectpp))
|
||||||
skip = true;
|
skip = true;
|
||||||
|
|
||||||
/* Skip local symbols if we are discarding them. */
|
/* Skip local symbols if we are discarding them. */
|
||||||
|
Reference in New Issue
Block a user