summaryrefslogtreecommitdiff
path: root/bfd/elfxx-sparc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2010-02-08 20:18:02 +0000
committerDavid S. Miller <davem@redhat.com>2010-02-08 20:18:02 +0000
commitc22bcc7c9f0c7b5168a4c0ca6145f49a7334750e (patch)
treebece8798657fafed2e08102383939a5b8ba992ad /bfd/elfxx-sparc.h
parenta98c2c6d6b1e90e96b6819f761e69cf29c3a4ead (diff)
downloadbinutils-redhat-c22bcc7c9f0c7b5168a4c0ca6145f49a7334750e.tar.gz
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 6f24ecd24b..a20855a990 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);