diff options
author | Alan Modra <amodra@gmail.com> | 2007-09-08 13:46:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-09-08 13:46:15 +0000 |
commit | 2b95367962dc14f69d3c338c4d54195266e2e169 (patch) | |
tree | 3dfca2b0a6cc604e294e558595b664a5ad65ab6c /bfd/elf64-ppc.c | |
parent | 78b8434d266b920124327ae073b238addf8425e1 (diff) | |
download | gdb-2b95367962dc14f69d3c338c4d54195266e2e169.zip gdb-2b95367962dc14f69d3c338c4d54195266e2e169.tar.gz gdb-2b95367962dc14f69d3c338c4d54195266e2e169.tar.bz2 |
* elf64-ppc.c (func_desc_adjust): When resolving undefined
references to dot-symbols, transfer def_regular and
def_dynamic from the descriptor symbol.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index c55f3e6..b5e4556 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -5651,6 +5651,8 @@ func_desc_adjust (struct elf_link_hash_entry *h, void *inf) { fh->elf.root.type = fh->oh->elf.root.type; fh->elf.forced_local = 1; + fh->elf.def_regular = fh->oh->elf.def_regular; + fh->elf.def_dynamic = fh->oh->elf.def_dynamic; } /* If this is a function code symbol, transfer dynamic linking |