aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-sparc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2010-02-08 20:18:03 +0000
committerDavid S. Miller <davem@redhat.com>2010-02-08 20:18:03 +0000
commit72fbc6e5ab9808189b0c877ecff95c38cad6d6f2 (patch)
tree6aad5c67f13137932c9665191a2dd521887d3f50 /bfd/elfxx-sparc.h
parent9ea2b9423ff6fdf5ff6a57d9bfe787c67d396bfe (diff)
downloadgdb-72fbc6e5ab9808189b0c877ecff95c38cad6d6f2.zip
gdb-72fbc6e5ab9808189b0c877ecff95c38cad6d6f2.tar.gz
gdb-72fbc6e5ab9808189b0c877ecff95c38cad6d6f2.tar.bz2
bfd/
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot, srelgot, splt, srelplt, and sgotplt members in favor of generic copies. * elfxx-sparc.c (create_got_section): Delete. (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic section creator does that work for us. Use ->elf.foo instead of ->foo where applicable. (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo where applicable. (allocate_dynrelocs): Likewise. (_bfd_sparc_elf_size_dynamic_sections): Likewise. (_bfd_sparc_elf_relocate_section): Likewise. (sparc_vxworks_build_plt_entry): Likewise. (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. (sparc_finish_dyn): Likewise. (sparc_vxworks_finish_exec_plt): Likewise. (sparc_vxworks_finish_shared_plt): Likewise. (_bfd_sparc_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_* macros for visibilty and locality checks. (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. (allocate_dynrelocs): Likewise. (_bfd_sparc_elf_relocate_section): Likewise. (_bfd_sparc_elf_finish_dynamic_symbol):Likewise. * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set but never used local var 'dynobj'. * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle nocopyreloc.
Diffstat (limited to 'bfd/elfxx-sparc.h')
-rw-r--r--bfd/elfxx-sparc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/bfd/elfxx-sparc.h b/bfd/elfxx-sparc.h
index 6f24ecd..a20855a 100644
--- a/bfd/elfxx-sparc.h
+++ b/bfd/elfxx-sparc.h
@@ -47,10 +47,6 @@ struct _bfd_sparc_elf_link_hash_table
struct elf_link_hash_table elf;
/* Short-cuts to get to dynamic linker sections. */
- asection *sgot;
- asection *srelgot;
- asection *splt;
- asection *srelplt;
asection *sdynbss;
asection *srelbss;
@@ -69,9 +65,6 @@ struct _bfd_sparc_elf_link_hash_table
/* The (unloaded but important) .rela.plt.unloaded section, for VxWorks. */
asection *srelplt2;
- /* .got.plt is only used on VxWorks. */
- asection *sgotplt;
-
void (*put_word) (bfd *, bfd_vma, void *);
bfd_vma (*r_info) (Elf_Internal_Rela *, bfd_vma, bfd_vma);
bfd_vma (*r_symndx) (bfd_vma);