mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
* elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub
when !can_plt_call.
This commit is contained in:
parent
70961b9d70
commit
15b552e906
@ -1,3 +1,8 @@
|
||||
2005-07-12 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub
|
||||
when !can_plt_call.
|
||||
|
||||
2005-07-12 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
|
||||
|
@ -9998,6 +9998,8 @@ ppc64_elf_relocate_section (bfd *output_bfd,
|
||||
br = bfd_get_32 (input_bfd, contents + rel->r_offset);
|
||||
if ((br & 1) == 0)
|
||||
can_plt_call = TRUE;
|
||||
else
|
||||
stub_entry = NULL;
|
||||
}
|
||||
else if (h != NULL
|
||||
&& strcmp (h->elf.root.root.string,
|
||||
|
Loading…
Reference in New Issue
Block a user