diff options
author | Alan Modra <amodra@gmail.com> | 2005-01-06 08:41:05 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-01-06 08:41:05 +0000 |
commit | f03d65b4138164e8fd48ac0c1aa8cfcb34aebfc5 (patch) | |
tree | 4427d5895f569ba03cfdbf5174ebdc051cef0dac /bfd | |
parent | 30841583d6c2919e4f23088b69b571937e7b6552 (diff) | |
download | gdb-f03d65b4138164e8fd48ac0c1aa8cfcb34aebfc5.zip gdb-f03d65b4138164e8fd48ac0c1aa8cfcb34aebfc5.tar.gz gdb-f03d65b4138164e8fd48ac0c1aa8cfcb34aebfc5.tar.bz2 |
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
toc adjusting stub, do not test source section flags.
Diffstat (limited to 'bfd')
-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; } |