XCOFF linker script PROVIDE support

Alan Modra amodra@gmail.com
Tue Jul 7 08:49:55 GMT 2020


Fixes bit rot from git commit b46a87b1606.

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

diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index de313e1f17..c1fe705aa9 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)

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list