From: Alan Modra Date: Tue, 7 Jul 2020 00:47:21 +0000 (+0930) Subject: XCOFF linker script PROVIDE support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb3dc2133648119386c9262892f782c29683f920;p=binutils-gdb.git XCOFF linker script PROVIDE support Fixes bit rot from git commit b46a87b1606. * emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle etree_provided. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index e65988440d5..762d5a033d5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-07-07 Alan Modra + + * emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle + etree_provided. + 2020-07-07 Alan Modra * testsuite/ld-sh/vxworks1-lib.rd: Update expected output. diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index de313e1f174..c1fe705aa92 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -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)