aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-06-19 11:49:02 +0000
committerAlan Modra <amodra@gmail.com>2003-06-19 11:49:02 +0000
commit9b5ecbd0c60cc7980d7ae7560b38a537c99861d5 (patch)
tree4359768f5d3a47b5325ca9062b7d586260ad99bc /bfd/elf64-ppc.h
parent2c58cc864dbd741d997a1d17dc67a8dcd2b597bb (diff)
downloadgdb-9b5ecbd0c60cc7980d7ae7560b38a537c99861d5.zip
gdb-9b5ecbd0c60cc7980d7ae7560b38a537c99861d5.tar.gz
gdb-9b5ecbd0c60cc7980d7ae7560b38a537c99861d5.tar.bz2
* elf64-ppc.c (toc_adjusting_stub_needed): New function.
(ppc64_elf_next_input_section): Use it here to set has_gp_reloc. Return error condition. (ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections that have has_gp_reloc set. (struct ppc_link_hash_table): Add stub_count. (ppc_build_one_stub): Increment it. (ppc64_elf_link_hash_table_create): zmalloc rather than clearing individual fields. * elf64-ppc.h (ppc64_elf_next_input_section): Update prototype.
Diffstat (limited to 'bfd/elf64-ppc.h')
-rw-r--r--bfd/elf64-ppc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.h b/bfd/elf64-ppc.h
index 1968c4e..cf720b4 100644
--- a/bfd/elf64-ppc.h
+++ b/bfd/elf64-ppc.h
@@ -33,7 +33,7 @@ void ppc64_elf_next_toc_section
PARAMS ((struct bfd_link_info *, asection *));
void ppc64_elf_reinit_toc
PARAMS ((bfd *, struct bfd_link_info *));
-void ppc64_elf_next_input_section
+bfd_boolean ppc64_elf_next_input_section
PARAMS ((struct bfd_link_info *, asection *));
bfd_boolean ppc64_elf_size_stubs
PARAMS ((bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,