PR ld/12727
* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear was_undefined on dot-symbols.
This commit is contained in:
parent
7efa8b093e
commit
9507a174f5
@ -1,3 +1,9 @@
|
||||
2011-05-04 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/12727
|
||||
* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear
|
||||
was_undefined on dot-symbols.
|
||||
|
||||
2011-05-03 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user