* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
entry points with the func descriptor as well as undefweak.
This commit is contained in:
parent
b00b912563
commit
ceb1f1eff4
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-03-01 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
|
||||||
|
entry points with the func descriptor as well as undefweak.
|
||||||
|
|
||||||
2005-02-28 Ross Ridge <rridge@csclub.uwaterloo.ca>
|
2005-02-28 Ross Ridge <rridge@csclub.uwaterloo.ca>
|
||||||
|
|
||||||
* peicode.h (pe_ILF_build_a_bfd): Do not assume that an @ will be
|
* peicode.h (pe_ILF_build_a_bfd): Do not assume that an @ will be
|
||||||
|
|
|
@ -8786,8 +8786,7 @@ ppc64_elf_size_stubs (bfd *output_bfd,
|
||||||
sym_value = 0;
|
sym_value = 0;
|
||||||
/* Recognise an old ABI func code entry sym, and
|
/* Recognise an old ABI func code entry sym, and
|
||||||
use the func descriptor sym instead. */
|
use the func descriptor sym instead. */
|
||||||
if (hash->elf.root.type == bfd_link_hash_undefweak
|
if (hash->elf.root.root.string[0] == '.'
|
||||||
&& hash->elf.root.root.string[0] == '.'
|
|
||||||
&& (fdh = get_fdh (hash, htab)) != NULL)
|
&& (fdh = get_fdh (hash, htab)) != NULL)
|
||||||
{
|
{
|
||||||
if (fdh->elf.root.type == bfd_link_hash_defined
|
if (fdh->elf.root.type == bfd_link_hash_defined
|
||||||
|
|
Loading…
Reference in a new issue