diff options
author | Alan Modra <amodra@gmail.com> | 2011-05-04 00:31:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-05-04 00:31:41 +0000 |
commit | 9507a174f5ab48ee28522efc30ff10cd25f0d4b8 (patch) | |
tree | c11896e79f584dbf8dc64e1e725d0c733ab50a0b | |
parent | 7efa8b093e05426b066a0d52cc9256d3eda72f0d (diff) | |
download | gdb-9507a174f5ab48ee28522efc30ff10cd25f0d4b8.zip gdb-9507a174f5ab48ee28522efc30ff10cd25f0d4b8.tar.gz gdb-9507a174f5ab48ee28522efc30ff10cd25f0d4b8.tar.bz2 |
PR ld/12727
* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear
was_undefined on dot-symbols.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4711183..9437475 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> 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. */ |