aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-07-07 10:17:21 +0930
committerAlan Modra <amodra@gmail.com>2020-07-07 18:26:33 +0930
commitfb3dc2133648119386c9262892f782c29683f920 (patch)
tree2653c4e0601a82bfc8b289aa5e5441b2f45cd074 /ld/emultempl
parent23f5e55ed170c58c66437cc234887cecd5a11866 (diff)
downloadfsf-binutils-gdb-fb3dc2133648119386c9262892f782c29683f920.zip
fsf-binutils-gdb-fb3dc2133648119386c9262892f782c29683f920.tar.gz
fsf-binutils-gdb-fb3dc2133648119386c9262892f782c29683f920.tar.bz2
XCOFF linker script PROVIDE support
Fixes bit rot from git commit b46a87b1606. * emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle etree_provided.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/aix.em1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index de313e1..c1fe705 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)