diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-07 10:17:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-07-07 18:26:33 +0930 |
commit | fb3dc2133648119386c9262892f782c29683f920 (patch) | |
tree | 2653c4e0601a82bfc8b289aa5e5441b2f45cd074 /ld/emultempl | |
parent | 23f5e55ed170c58c66437cc234887cecd5a11866 (diff) | |
download | gdb-fb3dc2133648119386c9262892f782c29683f920.zip gdb-fb3dc2133648119386c9262892f782c29683f920.tar.gz 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.em | 1 |
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) |