XCOFF linker script PROVIDE support
authorAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 00:47:21 +0000 (10:17 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 08:56:33 +0000 (18:26 +0930)
Fixes bit rot from git commit b46a87b1606.

* emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle
etree_provided.

ld/ChangeLog
ld/emultempl/aix.em

index e65988440d5511b175ffb969d18ce8c6f49ead03..762d5a033d50c86c7b1e6ac2ebfb792e539d0db4 100644 (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.
index de313e1f1741d63b979ec7074f43e8b4d736e7c6..c1fe705aa92bec09938d660ad766212e642c521a 100644 (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)