* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for

toc adjusting stub, do not test source section flags.
This commit is contained in:
Alan Modra 2005-01-06 08:41:05 +00:00
parent 30841583d6
commit f03d65b413
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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;
}