diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 831b9e1..f2fc034 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-01-06 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for + toc adjusting stub, do not test source section flags. + 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr> * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 8bf140c..6366141 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -8643,8 +8643,7 @@ ppc64_elf_size_stubs (bfd *output_bfd, && code_sec->output_section != NULL && (htab->stub_group[code_sec->id].toc_off != htab->stub_group[section->id].toc_off) - && code_sec->has_gp_reloc - && section->has_gp_reloc) + && code_sec->has_gp_reloc) stub_type = ppc_stub_long_branch_r2off; } |