From 9507a174f5ab48ee28522efc30ff10cd25f0d4b8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 4 May 2011 00:31:41 +0000 Subject: PR ld/12727 * elf64-ppc.c (ppc_build_one_stub ): Clear was_undefined on dot-symbols. --- bfd/elf64-ppc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/elf64-ppc.c') diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 13ae9a2..543a727 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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. */ -- cgit v1.1