PR ld/12727
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index 13ae9a227cf5f8df2759f932b81f788850538758..543a7272b286e4c48d273dda03f9cc38b44584a2 100644 (file)
@@ -9789,6 +9789,8 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
             these checks could now disappear.  */
          if (fh->elf.root.type == bfd_link_hash_undefined)
            fh->elf.root.type = bfd_link_hash_undefweak;
+         /* Stop undo_symbol_twiddle changing it back to undefined.  */
+         fh->was_undefined = 0;
        }
 
       /* Now build the stub.  */
This page took 0.027099 seconds and 4 git commands to generate.