summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-07-07 15:51:57 +0000
committerAlan Modra <amodra@bigpond.net.au>2003-07-07 15:51:57 +0000
commit8bb3e129cb232c6dd07ac1eeea3bb6449f610109 (patch)
tree7238f95c1cd32f11355dc05bf688c372dffd1142 /bfd/elf.c
parentf32c5d34295bfe72e5da0c421dd6846c95532898 (diff)
downloadbinutils-redhat-8bb3e129cb232c6dd07ac1eeea3bb6449f610109.tar.gz
* elf-bfd.h (struct elf_link_hash_entry): Remove linker_section_pointer
field. (enum elf_linker_section_enum): Delete. (struct elf_linker_section): Delete. (struct elf_linker_section_pointers): Delete. (struct elf_obj_tdata): Remove #if 0 chunk. Remove linker_section. Make linker_section_pointers a void**. (elf_local_ptr_offsets, elf_linker_section): Don't define. * elf32-ppc.c (enum elf_linker_section_enum): New, cut-down version of old item in elf-bfd.h. (struct elf_linker_section): Likewise. (struct elf_linker_section_pointers): Likewise. (elf_local_ptr_offsets): Define. (struct ppc_elf_link_hash_entry): Add linker_section_pointer. (ppc_elf_link_hash_newfunc): Init it. (struct ppc_elf_link_hash_table): Add sbss. (ppc_elf_link_hash_table_create): zmalloc rather than clearing individual fields. (elf_create_linker_section): Fold into.. (ppc_elf_create_linker_section): ..here. Remove hole_size code. Make rela section here if shared. (elf_find_pointer_linker_section): Pass lsect rather than enum. (elf_create_pointer_linker_section): Adjust. zalloc rather than clearing in a loop. (elf_finish_pointer_linker_section): Adjust. Don't make rela section here. (ppc_elf_check_relocs): Adjust. (ppc_elf_add_symbol_hook): Tighten hash creator test. Remove code creating .sbss by hand. * elf.c (_bfd_elf_link_hash_newfunc): Adjust.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 470f3c2f76..e3428217e2 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1428,7 +1428,6 @@ _bfd_elf_link_hash_newfunc (entry, table, string)
ret->dynstr_index = 0;
ret->elf_hash_value = 0;
ret->weakdef = NULL;
- ret->linker_section_pointer = NULL;
ret->verinfo.verdef = NULL;
ret->vtable_entries_size = 0;
ret->vtable_entries_used = NULL;