XCOFF linker script PROVIDE support

Fixes bit rot from git commit b46a87b160.

	* emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle
	etree_provided.
This commit is contained in:
Alan Modra 2020-07-07 10:17:21 +09:30
parent 23f5e55ed1
commit fb3dc21336
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2020-07-07 Alan Modra <amodra@gmail.com>
* emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle
etree_provided.
2020-07-07 Alan Modra <amodra@gmail.com>
* testsuite/ld-sh/vxworks1-lib.rd: Update expected output.

View File

@ -1364,6 +1364,7 @@ gld${EMULATION_NAME}_find_exp_assignment (etree_type *exp)
switch (exp->type.node_class)
{
case etree_provide:
case etree_provided:
h = bfd_link_hash_lookup (link_info.hash, exp->assign.dst,
FALSE, FALSE, FALSE);
if (h == NULL)