aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-28 23:00:40 +0000
committerAlan Modra <amodra@gmail.com>2005-02-28 23:00:40 +0000
commitceb1f1eff43328a4d93d80fd4a392c1aadb1ef77 (patch)
tree06c791dd7104db286d751d036dcfcb0b15ecde4f /bfd/elf64-ppc.c
parentb00b9125638a32de2b7ee512aa864a16c7b6cd54 (diff)
downloadgdb-ceb1f1eff43328a4d93d80fd4a392c1aadb1ef77.zip
gdb-ceb1f1eff43328a4d93d80fd4a392c1aadb1ef77.tar.gz
gdb-ceb1f1eff43328a4d93d80fd4a392c1aadb1ef77.tar.bz2
* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
entry points with the func descriptor as well as undefweak.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 891e032..266a2fc 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -8786,8 +8786,7 @@ ppc64_elf_size_stubs (bfd *output_bfd,
sym_value = 0;
/* Recognise an old ABI func code entry sym, and
use the func descriptor sym instead. */
- if (hash->elf.root.type == bfd_link_hash_undefweak
- && hash->elf.root.root.string[0] == '.'
+ if (hash->elf.root.root.string[0] == '.'
&& (fdh = get_fdh (hash, htab)) != NULL)
{
if (fdh->elf.root.type == bfd_link_hash_defined