* elf64-ppc.c (func_desc_adjust): When resolving undefined
references to dot-symbols, transfer def_regular and def_dynamic from the descriptor symbol.
This commit is contained in:
parent
78b8434d26
commit
2b95367962
|
@ -1,3 +1,9 @@
|
|||
2007-09-08 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* 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 <amodra@bigpond.net.au>
|
||||
|
||||
* config.bfd: Set want64 for spu-*-elf.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue