Browse Source

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

toc adjusting stub, do not test source section flags.
binutils-csl-arm-2005q1-branch
Alan Modra 22 years ago
parent
commit
f03d65b413
  1. 5
      bfd/ChangeLog
  2. 3
      bfd/elf64-ppc.c

5
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

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

Loading…
Cancel
Save