mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
do not output symbols which need relocs until the end
This commit is contained in:
@ -3546,14 +3546,6 @@ xcoff_link_input_bfd (finfo, input_bfd)
|
|||||||
skip = true;
|
skip = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On the other hand, we can't skip global symbols which have
|
|
||||||
relocs against them. */
|
|
||||||
if (skip
|
|
||||||
&& isym.n_sclass == C_EXT
|
|
||||||
&& (*sym_hash)->indx == -2
|
|
||||||
&& finfo->info->strip != strip_all)
|
|
||||||
skip = false;
|
|
||||||
|
|
||||||
/* We can not skip the first TOC anchor. */
|
/* We can not skip the first TOC anchor. */
|
||||||
if (skip
|
if (skip
|
||||||
&& require
|
&& require
|
||||||
|
Reference in New Issue
Block a user