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/elf64-ppc.c | |
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/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |