From: Alan Modra Date: Sat, 8 Sep 2007 13:46:15 +0000 (+0000) Subject: * elf64-ppc.c (func_desc_adjust): When resolving undefined X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f2cdb143f15fdb626f3d2905f3ddec144e6180d7;p=pf3gnuchains%2Fpf3gnuchains3x.git * elf64-ppc.c (func_desc_adjust): When resolving undefined references to dot-symbols, transfer def_regular and def_dynamic from the descriptor symbol. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 48bb1761ab..0078efc32b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2007-09-08 Alan Modra + * elf64-ppc.c (func_desc_adjust): When resolving undefined + references to dot-symbols, transfer def_regular and + def_dynamic from the descriptor symbol. + +2007-09-08 Alan Modra + * config.bfd: Set want64 for spu-*-elf. 2007-09-08 Alan Modra diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index c55f3e6396..b5e45560fb 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