XCOFF linker script PROVIDE support

Message ID 20200707084955.GH28359@bubble.grove.modra.org
State New
Headers show
Series
  • XCOFF linker script PROVIDE support
Related show

Commit Message

H.J. Lu via Binutils July 7, 2020, 8:49 a.m.
Fixes bit rot from git commit b46a87b1606.

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


-- 
Alan Modra
Australia Development Lab, IBM

Patch

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)