PR ld/11583
[deliverable/binutils-gdb.git] / ld / ldexp.c
index 7fdf7f40587d16bd0ff6f98f5f446c3c2a725a7d..34d9eabde7f67506d79f54afdcdc262b194d7b30 100644 (file)
@@ -830,6 +830,14 @@ exp_fold_tree_1 (etree_type *tree)
                                                    hsrc);
                }
            }
+         else if (expld.phase == lang_final_phase_enum)
+           {
+             h = bfd_link_hash_lookup (link_info.hash, tree->assign.dst,
+                                       FALSE, FALSE, TRUE);
+             if (h != NULL
+                 && h->type == bfd_link_hash_new)
+               h->type = bfd_link_hash_undefined;
+           }
        }
       break;
 
This page took 0.023783 seconds and 4 git commands to generate.